diff options
Diffstat (limited to 'source/slang/slang-emit-glsl.cpp')
| -rw-r--r-- | source/slang/slang-emit-glsl.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/slang/slang-emit-glsl.cpp b/source/slang/slang-emit-glsl.cpp index 8a074d057..02e633f98 100644 --- a/source/slang/slang-emit-glsl.cpp +++ b/source/slang/slang-emit-glsl.cpp @@ -1757,13 +1757,6 @@ bool GLSLSourceEmitter::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_ImageLoad: { m_writer->emit("imageLoad("); |
