summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-glsl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit-glsl.cpp')
-rw-r--r--source/slang/slang-emit-glsl.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/source/slang/slang-emit-glsl.cpp b/source/slang/slang-emit-glsl.cpp
index 696830bf2..fca5a8933 100644
--- a/source/slang/slang-emit-glsl.cpp
+++ b/source/slang/slang-emit-glsl.cpp
@@ -1330,8 +1330,6 @@ void GLSLSourceEmitter::emitSimpleValueImpl(IRInst* inst)
return;
}
case BaseType::UInt:
- case BaseType::Int8x4Packed:
- case BaseType::UInt8x4Packed:
{
m_writer->emit(UInt(uint32_t(litInst->value.intVal)));
m_writer->emit("U");
@@ -2175,8 +2173,6 @@ bool GLSLSourceEmitter::tryEmitInstExprImpl(IRInst* inst, const EmitOpInfo& inOu
break;
case BaseType::UInt:
- case BaseType::Int8x4Packed:
- case BaseType::UInt8x4Packed:
if (fromType == BaseType::Float)
{
m_writer->emit("floatBitsToUint");
@@ -3186,18 +3182,6 @@ void GLSLSourceEmitter::emitSimpleTypeImpl(IRType* type)
#endif
return;
}
- case kIROp_Int8x4PackedType:
- {
- _requireBaseType(BaseType::Int8x4Packed);
- m_writer->emit("uint");
- return;
- }
- case kIROp_UInt8x4PackedType:
- {
- _requireBaseType(BaseType::UInt8x4Packed);
- m_writer->emit("uint");
- return;
- }
case kIROp_VoidType:
case kIROp_BoolType:
case kIROp_Int8Type: