diff options
| author | 2024-01-04 15:53:44 -0500 | |
|---|---|---|
| committer | 2024-01-04 15:53:44 -0500 | |
| commit | 92a331af76cba638f01490eeb0045ca4d6d27df7 (patch) | |
| tree | 2f66b3dad2ee7c47cb8be910e0cbbaeced97ce6d /src/shader_recompiler/backend/spirv/spirv_emit_context.cpp | |
| parent | Merge pull request #12575 from t895/inconsistent-settings-application (diff) | |
| parent | Settings: Indicate AMD's compatibility with SPIR-V on OGL (diff) | |
| download | yuzu-92a331af76cba638f01490eeb0045ca4d6d27df7.tar.gz yuzu-92a331af76cba638f01490eeb0045ca4d6d27df7.tar.xz yuzu-92a331af76cba638f01490eeb0045ca4d6d27df7.zip | |
Merge pull request #12437 from ameerj/gl-amd-fixes
OpenGL: Fixes and workaround updates for AMD
Diffstat (limited to 'src/shader_recompiler/backend/spirv/spirv_emit_context.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/spirv_emit_context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp index 89ebab08e..0442adc83 100644 --- a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp +++ b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp | |||
| @@ -1440,7 +1440,7 @@ void EmitContext::DefineInputs(const IR::Program& program) { | |||
| 1440 | if (profile.support_vertex_instance_id) { | 1440 | if (profile.support_vertex_instance_id) { |
| 1441 | instance_id = DefineInput(*this, U32[1], true, spv::BuiltIn::InstanceId); | 1441 | instance_id = DefineInput(*this, U32[1], true, spv::BuiltIn::InstanceId); |
| 1442 | if (loads[IR::Attribute::BaseInstance]) { | 1442 | if (loads[IR::Attribute::BaseInstance]) { |
| 1443 | base_instance = DefineInput(*this, U32[1], true, spv::BuiltIn::BaseVertex); | 1443 | base_instance = DefineInput(*this, U32[1], true, spv::BuiltIn::BaseInstance); |
| 1444 | } | 1444 | } |
| 1445 | } else { | 1445 | } else { |
| 1446 | instance_index = DefineInput(*this, U32[1], true, spv::BuiltIn::InstanceIndex); | 1446 | instance_index = DefineInput(*this, U32[1], true, spv::BuiltIn::InstanceIndex); |