diff options
| author | Darren Wihandi <65404740+fairywreath@users.noreply.github.com> | 2025-02-28 16:23:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-28 13:23:29 -0800 |
| commit | efbfa7832afff7e6285713086259abda2456ed55 (patch) | |
| tree | d5a94eb66867d7f9dc01e4c1a25502443bf71040 /source/slang/slang-emit-spirv.cpp | |
| parent | 618b4c7657f539e66f032cd40554798bc0d68f6d (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-emit-spirv.cpp')
| -rw-r--r-- | source/slang/slang-emit-spirv.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/slang/slang-emit-spirv.cpp b/source/slang/slang-emit-spirv.cpp index 802df915e..c7e222247 100644 --- a/source/slang/slang-emit-spirv.cpp +++ b/source/slang/slang-emit-spirv.cpp @@ -1466,8 +1466,6 @@ struct SPIRVEmitContext : public SourceEmitterBase, public SPIRVEmitSharedContex case kIROp_Int8Type: case kIROp_IntType: case kIROp_Int64Type: - case kIROp_Int8x4PackedType: - case kIROp_UInt8x4PackedType: { const IntInfo i = getIntTypeInfo(as<IRType>(inst)); if (i.width == 16) @@ -7642,8 +7640,6 @@ struct SPIRVEmitContext : public SourceEmitterBase, public SPIRVEmitSharedContex case kIROp_UInt64Type: case kIROp_UInt8Type: case kIROp_UIntPtrType: - case kIROp_Int8x4PackedType: - case kIROp_UInt8x4PackedType: spvEncoding = 6; // Unsigned break; case kIROp_FloatType: |
