summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2023-12-21 05:07:15 +0100
committerAmeer J <52414509+ameerj@users.noreply.github.com>2023-12-22 03:53:24 +0100
commitd5d0d2cb0e7cf6ece3b5168b1f9a6362482515b2 (patch)
tree300790ea4b7b27b9422722f143b9d87966ca8113
parentemit_glsl_image: Use inlined texelFetch offsets (diff)
downloadyuzu-d5d0d2cb0e7cf6ece3b5168b1f9a6362482515b2.tar
yuzu-d5d0d2cb0e7cf6ece3b5168b1f9a6362482515b2.tar.gz
yuzu-d5d0d2cb0e7cf6ece3b5168b1f9a6362482515b2.tar.bz2
yuzu-d5d0d2cb0e7cf6ece3b5168b1f9a6362482515b2.tar.lz
yuzu-d5d0d2cb0e7cf6ece3b5168b1f9a6362482515b2.tar.xz
yuzu-d5d0d2cb0e7cf6ece3b5168b1f9a6362482515b2.tar.zst
yuzu-d5d0d2cb0e7cf6ece3b5168b1f9a6362482515b2.zip
-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 3350f1f85..eb3cc23cc 100644
--- a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
+++ b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
@@ -1427,7 +1427,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);