From 0470ea05a42d6c3f35d81a433fefdd440500cdbd Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 24 Aug 2023 16:32:33 -0700 Subject: Misc. SPIRV Fixes, Part 2. (#3147) * Misc. SPIRV Fixes, Part 2. * Fix up. * Fix. * Add system smenatic values. * 16 bit int and floats, matrix/vector reshape, bool ops. * Fix. * Fix. * Allow push constant entry point params. * entrypoint params. * swizzleSet and swizzledStore. * packoffset. * string hash. * Fix. * Matrix arithmetics. --------- Co-authored-by: Yong He --- source/slang/slang-ir-bind-existentials.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/slang/slang-ir-bind-existentials.cpp') diff --git a/source/slang/slang-ir-bind-existentials.cpp b/source/slang/slang-ir-bind-existentials.cpp index 35c07452a..f4fbf6e20 100644 --- a/source/slang/slang-ir-bind-existentials.cpp +++ b/source/slang/slang-ir-bind-existentials.cpp @@ -351,8 +351,7 @@ struct BindExistentialSlots inst, slotOperandCount, slotOperands.getBuffer()); - - use->set(newVal); + builder.replaceOperand(use, newVal); } } }; -- cgit v1.2.3