summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
authorDarren Wihandi <65404740+fairywreath@users.noreply.github.com>2025-02-28 16:23:29 -0500
committerGitHub <noreply@github.com>2025-02-28 13:23:29 -0800
commitefbfa7832afff7e6285713086259abda2456ed55 (patch)
treed5a94eb66867d7f9dc01e4c1a25502443bf71040 /source/slang/slang.cpp
parent618b4c7657f539e66f032cd40554798bc0d68f6d (diff)
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 <yonghe@outlook.com>
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index fe7ecc4e9..924a4371a 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -82,8 +82,6 @@ namespace Slang
BaseTypeInfo::Flag::Signed | BaseTypeInfo::Flag::Integer,
uint8_t(BaseType::IntPtr)},
{uint8_t(sizeof(uintptr_t)), BaseTypeInfo::Flag::Integer, uint8_t(BaseType::UIntPtr)},
- {uint8_t(sizeof(uint32_t)), BaseTypeInfo::Flag::Integer, uint8_t(BaseType::Int8x4Packed)},
- {uint8_t(sizeof(uint32_t)), BaseTypeInfo::Flag::Integer, uint8_t(BaseType::UInt8x4Packed)},
};
/* static */ bool BaseTypeInfo::check()
@@ -135,10 +133,6 @@ namespace Slang
return UnownedStringSlice::fromLiteral("intptr_t");
case BaseType::UIntPtr:
return UnownedStringSlice::fromLiteral("uintptr_t");
- case BaseType::Int8x4Packed:
- return UnownedStringSlice::fromLiteral("int8_t4_packed");
- case BaseType::UInt8x4Packed:
- return UnownedStringSlice::fromLiteral("uint8_t4_packed");
default:
{
SLANG_ASSERT(!"Unknown basic type");