diff options
| author | Yong He <yonghe@outlook.com> | 2024-03-12 11:56:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-12 11:56:10 -0700 |
| commit | 8b5196033ae5e8113e6d06cb64c7cbe570496c51 (patch) | |
| tree | 6e2d7f4caea44b1bde8df043784ecf1834851f23 /source | |
| parent | 66a0d91d6f3cbbaab69aec637404bcfeb2584274 (diff) | |
[SPIRV] Fix OpMemberDecorateString. (#3747)
Diffstat (limited to 'source')
| -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 |
