mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 22:58:19 -05:00
spirv: Implement rescaling patching
This commit is contained in:
committed by
Fernando Sahmkow
parent
01379c5e3c
commit
656adee630
@ -20,8 +20,11 @@ namespace Shader::Backend::SPIRV {
|
||||
IR::Program& program, Bindings& bindings);
|
||||
|
||||
[[nodiscard]] inline std::vector<u32> EmitSPIRV(const Profile& profile, IR::Program& program) {
|
||||
RuntimeInfo runtime_info{};
|
||||
runtime_info.num_textures = Shader::NumDescriptors(program.info.texture_descriptors);
|
||||
|
||||
Bindings binding;
|
||||
return EmitSPIRV(profile, {}, program, binding);
|
||||
return EmitSPIRV(profile, runtime_info, program, binding);
|
||||
}
|
||||
|
||||
} // namespace Shader::Backend::SPIRV
|
||||
|
Reference in New Issue
Block a user