summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-type-layout.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-type-layout.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-type-layout.cpp')
-rw-r--r--source/slang/slang-type-layout.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/slang/slang-type-layout.cpp b/source/slang/slang-type-layout.cpp
index 7968450b4..e6729ca85 100644
--- a/source/slang/slang-type-layout.cpp
+++ b/source/slang/slang-type-layout.cpp
@@ -111,10 +111,6 @@ struct DefaultLayoutRulesImpl : SimpleLayoutRulesImpl
sizeof(intptr_t),
sizeof(intptr_t));
- case BaseType::Int8x4Packed:
- case BaseType::UInt8x4Packed:
- return SimpleLayoutInfo(LayoutResourceKind::Uniform, 4, 4);
-
case BaseType::Half:
return SimpleLayoutInfo(LayoutResourceKind::Uniform, 2, 2);
case BaseType::Float: