diff options
| -rw-r--r-- | source/slang/slang-emit-spirv-ops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-emit-spirv-ops.h b/source/slang/slang-emit-spirv-ops.h index 32f47b3ef..f8c96bb30 100644 --- a/source/slang/slang-emit-spirv-ops.h +++ b/source/slang/slang-emit-spirv-ops.h @@ -733,7 +733,7 @@ SpvInst* emitOpMemberDecorateString( ) { static_assert(isSingular<T>); - return emitInst(parent, inst, SpvOpDecorate, target, index, decoration, text); + return emitInst(parent, inst, SpvOpMemberDecorate, target, index, decoration, text); } // https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpDecorate |
