diff options
Diffstat (limited to 'src/shader_recompiler/backend/spirv')
| -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); |