diff options
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_context.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_context.cpp b/src/shader_recompiler/backend/spirv/emit_context.cpp index 78ca97d91..3ec5a4570 100644 --- a/src/shader_recompiler/backend/spirv/emit_context.cpp +++ b/src/shader_recompiler/backend/spirv/emit_context.cpp | |||
| @@ -1209,7 +1209,7 @@ void EmitContext::DefineInputs(const IR::Program& program) { | |||
| 1209 | if (loads.AnyComponent(IR::Attribute::FixedFncTexture0S)) { | 1209 | if (loads.AnyComponent(IR::Attribute::FixedFncTexture0S)) { |
| 1210 | const Id id{DefineInput(*this, F32[4], true)}; | 1210 | const Id id{DefineInput(*this, F32[4], true)}; |
| 1211 | Decorate(id, spv::Decoration::Location, static_cast<u32>(12)); | 1211 | Decorate(id, spv::Decoration::Location, static_cast<u32>(12)); |
| 1212 | input_txt_coord = id; | 1212 | input_fixed_fnc_texture = id; |
| 1213 | } | 1213 | } |
| 1214 | if (loads[IR::Attribute::InstanceId]) { | 1214 | if (loads[IR::Attribute::InstanceId]) { |
| 1215 | if (profile.support_vertex_instance_id) { | 1215 | if (profile.support_vertex_instance_id) { |
| @@ -1332,7 +1332,7 @@ void EmitContext::DefineOutputs(const IR::Program& program) { | |||
| 1332 | if (info.stores.AnyComponent(IR::Attribute::FixedFncTexture0S)) { | 1332 | if (info.stores.AnyComponent(IR::Attribute::FixedFncTexture0S)) { |
| 1333 | const Id id{DefineOutput(*this, F32[4], invocations)}; | 1333 | const Id id{DefineOutput(*this, F32[4], invocations)}; |
| 1334 | Decorate(id, spv::Decoration::Location, static_cast<u32>(12)); | 1334 | Decorate(id, spv::Decoration::Location, static_cast<u32>(12)); |
| 1335 | output_txt_coord = id; | 1335 | output_fixed_fnc_texture = id; |
| 1336 | } | 1336 | } |
| 1337 | 1337 | ||
| 1338 | for (size_t index = 0; index < IR::NUM_GENERICS; ++index) { | 1338 | for (size_t index = 0; index < IR::NUM_GENERICS; ++index) { |