summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/spirv/emit_context.cpp
diff options
context:
space:
mode:
authorFeng Chen <vonchenplus@gmail.com>2021-09-03 17:52:20 +0200
committerFeng Chen <vonchenplus@gmail.com>2021-09-03 17:52:20 +0200
commita7bbaa489755c9847416c8c96f0eefb9e78a50a0 (patch)
tree341ab621a49becca148157877d6e57e2a31ba770 /src/shader_recompiler/backend/spirv/emit_context.cpp
parentFix create GraphicsPipelines crash (diff)
downloadyuzu-a7bbaa489755c9847416c8c96f0eefb9e78a50a0.tar
yuzu-a7bbaa489755c9847416c8c96f0eefb9e78a50a0.tar.gz
yuzu-a7bbaa489755c9847416c8c96f0eefb9e78a50a0.tar.bz2
yuzu-a7bbaa489755c9847416c8c96f0eefb9e78a50a0.tar.lz
yuzu-a7bbaa489755c9847416c8c96f0eefb9e78a50a0.tar.xz
yuzu-a7bbaa489755c9847416c8c96f0eefb9e78a50a0.tar.zst
yuzu-a7bbaa489755c9847416c8c96f0eefb9e78a50a0.zip
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_context.cpp')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_context.cpp4
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) {
if (loads.AnyComponent(IR::Attribute::FixedFncTexture0S)) {
const Id id{DefineInput(*this, F32[4], true)};
Decorate(id, spv::Decoration::Location, static_cast<u32>(12));
- input_txt_coord = id;
+ input_fixed_fnc_texture = id;
}
if (loads[IR::Attribute::InstanceId]) {
if (profile.support_vertex_instance_id) {
@@ -1332,7 +1332,7 @@ void EmitContext::DefineOutputs(const IR::Program& program) {
if (info.stores.AnyComponent(IR::Attribute::FixedFncTexture0S)) {
const Id id{DefineOutput(*this, F32[4], invocations)};
Decorate(id, spv::Decoration::Location, static_cast<u32>(12));
- output_txt_coord = id;
+ output_fixed_fnc_texture = id;
}
for (size_t index = 0; index < IR::NUM_GENERICS; ++index) {