From efbfa7832afff7e6285713086259abda2456ed55 Mon Sep 17 00:00:00 2001 From: Darren Wihandi <65404740+fairywreath@users.noreply.github.com> Date: Fri, 28 Feb 2025 16:23:29 -0500 Subject: Add Slang-specific intrinsics for integer pack/unpack (#6459) * update hlsl meta * update test * use slang syntax in meta file * improve meta file * fix pack clamp u8 * remove builtin packed types, use typealias instead * fix wgsl pack clamp * fix formatting --------- Co-authored-by: Yong He --- source/slang/slang-emit-metal.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/slang/slang-emit-metal.cpp') diff --git a/source/slang/slang-emit-metal.cpp b/source/slang/slang-emit-metal.cpp index 0a7db8b28..1bb738346 100644 --- a/source/slang/slang-emit-metal.cpp +++ b/source/slang/slang-emit-metal.cpp @@ -1099,10 +1099,6 @@ void MetalSourceEmitter::emitSimpleTypeImpl(IRType* type) case kIROp_UIntPtrType: m_writer->emit("ulong"); return; - case kIROp_Int8x4PackedType: - case kIROp_UInt8x4PackedType: - m_writer->emit("uint"); - return; case kIROp_StructType: m_writer->emit(getName(type)); return; -- cgit v1.2.3