From 7cecc518e753a90d9b638e8dd1140730ab010ca7 Mon Sep 17 00:00:00 2001 From: Darren Wihandi <65404740+fairywreath@users.noreply.github.com> Date: Fri, 27 Dec 2024 02:52:49 -0500 Subject: Add packed 8bit builtin types (#5939) * Add packed bytes builtin type * fix test --- source/slang/slang-ir-layout.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/slang/slang-ir-layout.cpp') diff --git a/source/slang/slang-ir-layout.cpp b/source/slang/slang-ir-layout.cpp index 52810cb2e..8180ea6aa 100644 --- a/source/slang/slang-ir-layout.cpp +++ b/source/slang/slang-ir-layout.cpp @@ -128,6 +128,9 @@ static Result _calcSizeAndAlignment( BASE(UIntPtr, kPointerSize); BASE(Double, 8); + BASE(Int8x4Packed, 4); + BASE(UInt8x4Packed, 4); + // We are currently handling `bool` following the HLSL // precednet of storing it in 4 bytes. // -- cgit v1.2.3