From 98ff41989b04ce883e9dc9f4464c45290d30c560 Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Mon, 17 Mar 2025 15:05:11 +0200 Subject: Add error diagnostic vectors and matrices with disallowed element types (#6596) - Add the diagnostic messages, and code to emit them - Add some tests This helps to address issue #6183. --- tests/compute/matrix-layout.hlsl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/compute/matrix-layout.hlsl') diff --git a/tests/compute/matrix-layout.hlsl b/tests/compute/matrix-layout.hlsl index 4a2d3f014..f3ff7d76c 100644 --- a/tests/compute/matrix-layout.hlsl +++ b/tests/compute/matrix-layout.hlsl @@ -7,7 +7,8 @@ // This has a compatibility issue on Windows 10.0.10586 on Dx12 - dxcompiler will crash (can remove form tests with -exclude compatibility-issue) -//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -xslang -matrix-layout-row-major -shaderobj +//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -dx11 -xslang -matrix-layout-row-major -shaderobj +//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -dx12 -xslang -matrix-layout-row-major -shaderobj //TEST(compute,compatibility-issue):COMPARE_COMPUTE_EX:-slang -compute -dx12 -use-dxil -xslang -matrix-layout-row-major -shaderobj //DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl -- cgit v1.2.3