summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-hlsl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit-hlsl.cpp')
-rw-r--r--source/slang/slang-emit-hlsl.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/source/slang/slang-emit-hlsl.cpp b/source/slang/slang-emit-hlsl.cpp
index 8891f06a6..b4db75616 100644
--- a/source/slang/slang-emit-hlsl.cpp
+++ b/source/slang/slang-emit-hlsl.cpp
@@ -566,13 +566,6 @@ bool HLSLSourceEmitter::tryEmitInstExprImpl(IRInst* inst, const EmitOpInfo& inOu
return true;
}
- case kIROp_GetStringHash:
- {
- const UnownedStringSlice slice = as<IRStringLit>(inst->getOperand(0))->getStringSlice();
- m_writer->emit(static_cast<int32_t>(getStableHashCode32(slice.begin(), slice.getLength())));
-
- return true;
- }
case kIROp_ByteAddressBufferLoad:
{
// HLSL byte-address buffers have two kinds of `Load` operations.