summaryrefslogtreecommitdiff
path: root/tests/expected-failure.txt
diff options
context:
space:
mode:
authorJames Helferty (NVIDIA) <jhelferty@nvidia.com>2025-06-10 11:02:38 -0400
committerGitHub <noreply@github.com>2025-06-10 10:02:38 -0500
commite37202002276b679c5241b2678af612552b06d2c (patch)
treedd072338524507cad6db45b28b976d0fbb6dd57a /tests/expected-failure.txt
parent954ad3d5466219eab216add0cb1ac920da548425 (diff)
Fix IR layout of 3-element vectors in cbuffers for -fvk-use-dx-layout (#7282)
* Better handling for 16-byte boundary of d3d cbuffer Fixes #6921 D3D cbuffers have slightly different packing rules that allow packing vectors into a 16-byte slot at element alignments, except when a field would cross a 16-byte boundary. In that case, we need to realign the field to the next 16-byte boundary. In particular, this impacts vec3s, which are not a power of two in size and thus require slightly different alignment logic, compared to std430 and std140. (Example: a float and float3 should fit together in that order in a single slot.) Adds test cases. Adds documentation page for GLSL target
Diffstat (limited to 'tests/expected-failure.txt')
-rw-r--r--tests/expected-failure.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/expected-failure.txt b/tests/expected-failure.txt
index 7283c8d97..22142e31d 100644
--- a/tests/expected-failure.txt
+++ b/tests/expected-failure.txt
@@ -5,3 +5,5 @@ tests/language-feature/saturated-cooperation/fuse.slang (vk)
tests/bugs/byte-address-buffer-interlocked-add-f32.slang (vk)
tests/ir/loop-unroll-0.slang.1 (vk)
tests/hlsl-intrinsic/texture/float-atomics.slang (vk)
+tests/hlsl/cbuffer-float3-offsets-aligned.slang.2 (vk)
+tests/hlsl/cbuffer-float3-offsets-unaligned.slang.2 (vk)