summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/spirv
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-04 21:53:44 +0100
committerGitHub <noreply@github.com>2024-01-04 21:53:44 +0100
commit92a331af76cba638f01490eeb0045ca4d6d27df7 (patch)
tree2f66b3dad2ee7c47cb8be910e0cbbaeced97ce6d /src/shader_recompiler/backend/spirv
parentMerge pull request #12575 from t895/inconsistent-settings-application (diff)
parentSettings: Indicate AMD's compatibility with SPIR-V on OGL (diff)
downloadyuzu-92a331af76cba638f01490eeb0045ca4d6d27df7.tar
yuzu-92a331af76cba638f01490eeb0045ca4d6d27df7.tar.gz
yuzu-92a331af76cba638f01490eeb0045ca4d6d27df7.tar.bz2
yuzu-92a331af76cba638f01490eeb0045ca4d6d27df7.tar.lz
yuzu-92a331af76cba638f01490eeb0045ca4d6d27df7.tar.xz
yuzu-92a331af76cba638f01490eeb0045ca4d6d27df7.tar.zst
yuzu-92a331af76cba638f01490eeb0045ca4d6d27df7.zip
Diffstat (limited to 'src/shader_recompiler/backend/spirv')
-rw-r--r--src/shader_recompiler/backend/spirv/spirv_emit_context.cpp2
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) {
if (profile.support_vertex_instance_id) {
instance_id = DefineInput(*this, U32[1], true, spv::BuiltIn::InstanceId);
if (loads[IR::Attribute::BaseInstance]) {
- base_instance = DefineInput(*this, U32[1], true, spv::BuiltIn::BaseVertex);
+ base_instance = DefineInput(*this, U32[1], true, spv::BuiltIn::BaseInstance);
}
} else {
instance_index = DefineInput(*this, U32[1], true, spv::BuiltIn::InstanceIndex);