From b86703432629bbfd75a902671d15e40c591065a7 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 6 Nov 2024 10:58:09 -0800 Subject: [WGSL] Enable arbitrary arrays in uniform buffers. (#5497) * [WGSL] Enable arbitrary arrays in uniform buffers. * format code * Undo irrelevant change and fixups. * Update expected failure list. * Fix. * Rename. --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --- tests/compute/non-square-row-major.slang | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/compute') diff --git a/tests/compute/non-square-row-major.slang b/tests/compute/non-square-row-major.slang index 20f6ec139..50c2185ac 100644 --- a/tests/compute/non-square-row-major.slang +++ b/tests/compute/non-square-row-major.slang @@ -3,14 +3,13 @@ // Note! This test doesn't work on CUDA or CPU targets, because both these targets // assume matrices are tightly packed, whereas GPU targets align rows to 16 bytes. +//TEST(compute):COMPARE_COMPUTE_EX(filecheck-buffer=ALIGNED):-slang -compute -wgpu -output-using-type -xslang -matrix-layout-row-major -shaderobj //TEST(compute):COMPARE_COMPUTE_EX(filecheck-buffer=PACKED):-cpu -compute -output-using-type -compile-arg -O3 -xslang -matrix-layout-row-major -shaderobj //TEST(compute):COMPARE_COMPUTE_EX(filecheck-buffer=ALIGNED):-slang -compute -output-using-type -xslang -matrix-layout-row-major -shaderobj //TEST(compute):COMPARE_COMPUTE_EX(filecheck-buffer=ALIGNED):-slang -compute -dx12 -output-using-type -xslang -matrix-layout-row-major -shaderobj //TEST(compute, vulkan):COMPARE_COMPUTE_EX(filecheck-buffer=ALIGNED):-vk -compute -output-using-type -xslang -matrix-layout-row-major -shaderobj //TEST(compute):COMPARE_COMPUTE_EX(filecheck-buffer=PACKED):-cuda -compute -output-using-type -xslang -matrix-layout-row-major -shaderobj //TEST(compute):COMPARE_COMPUTE(filecheck-buffer=PACKED): -slang -output-using-type -shaderobj -mtl -//DISABLE_TEST(compute):COMPARE_COMPUTE:-wgpu - // matrix //TEST_INPUT:cbuffer(data=[1.0 2.0 3.0 4.0 5.0 6.0 0.0 0.0 10.0 20.0 0.0 0.0 ]):name matrixBuffer -- cgit v1.2.3