Skip to content

Commit

Permalink
Refresh of disabled WGPU tests (#5614)
Browse files Browse the repository at this point in the history
Some tests are now passing and are enabled.
Other tests are still failing, but are given comments categorizing the failures.

Tests in the 'Not supported in WGSL' category are also removed from the expected failures
list. (Though they are still kept disabled for WebGPU, of course.)

This closes #5519.
  • Loading branch information
aleino-nv authored Nov 21, 2024
1 parent e9caf5d commit 93f5d13
Show file tree
Hide file tree
Showing 39 changed files with 32 additions and 32 deletions.
1 change: 1 addition & 0 deletions tests/autodiff/custom-intrinsic.slang
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj -output-using-type
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -shaderobj -output-using-type
// slang-test/WGPU: IR opcode during code emit #5263
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0 0], stride=4):out,name=outputBuffer
Expand Down
1 change: 1 addition & 0 deletions tests/autodiff/diff-ptr-type-array.slang
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK): -shaderobj -output-using-type
//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK): -vk -shaderobj -output-using-type
// WGSL: Runtime-sized arrays not in 'storage' address space are being generated #5613
//DISABLE_TEST(compute):COMPARE_COMPUTE:-wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
Expand Down
1 change: 1 addition & 0 deletions tests/bugs/atomic-coerce.slang
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -shaderobj
//TEST(compute,vulkan):COMPARE_COMPUTE_EX:-vk -slang -compute -shaderobj
//TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Not supported in WGSL: Use of traditional atomics intrinsics (InterlockedXXX functions)
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0 ], stride=4):out,name outputBuffer
Expand Down
1 change: 1 addition & 0 deletions tests/bugs/buffer-swizzle-store.slang
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -shaderobj -output-using-type
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj -output-using-type
//TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl -output-using-type
// Slang-RHI/WGPU: Invalid bind group layout entry used #5612
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

//TEST_INPUT: RWTexture2D(format=R16G16_FLOAT, size=4, content = one, mipMaps = 1):name g_test
Expand Down
1 change: 1 addition & 0 deletions tests/bugs/dxbc-double-problem.slang
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//TEST(compute):COMPARE_COMPUTE_EX:-dx12 -compute -use-dxil -output-using-type -shaderobj
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-dx12 -compute -output-using-type -shaderobj
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Not supported in WGSL: Double and other unsupported scalar types
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

// The problem this test shows is around handling of double with dxbc on D3D12. In that combination
Expand Down
1 change: 1 addition & 0 deletions tests/bugs/frexp-double.slang
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//TEST(smoke,compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-cuda -output-using-type
//metal currently does not support `double`
//DISABLE_TEST(smoke,compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-slang -shaderobj -mtl -output-using-type
// Not supported in WGSL: Double and other unsupported scalar types
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

// BUF: type: int32_t
Expand Down
1 change: 0 additions & 1 deletion tests/bugs/gh-3980.slang
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
//TEST(compute):COMPARE_COMPUTE_EX(filecheck-buffer=BUF):-cpu -compute -output-using-type
//TEST(compute):COMPARE_COMPUTE_EX(filecheck-buffer=BUF):-cuda -compute -output-using-type
//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-slang -shaderobj -mtl -output-using-type
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

// Slang removes parentheses characters for the bitwise operators when they are not needed.
// DXC prints warning messages even when the expression is correct.
Expand Down
1 change: 1 addition & 0 deletions tests/bugs/gh-518.slang
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -shaderobj
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -dx12 -shaderobj
//TEST_DISABLED(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj
// Not supported in WGSL: Arrays of textures or buffers
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

// Note: can't actually test this on Vulkan right now because
Expand Down
1 change: 1 addition & 0 deletions tests/bugs/op-assignment-unify-mat.slang
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -shaderobj
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -shaderobj -cpu
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Not supported in WGSL: Integer matrices
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name outputBuffer
Expand Down
1 change: 1 addition & 0 deletions tests/compute/atomics-buffer.slang
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// RWBuffer does not work with the GFX backend as expected with Metal
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
//TEST:SIMPLE(filecheck=METALLIB): -target metallib -stage compute -entry computeMain
// Not supported in WGSL: Use of traditional atomics intrinsics (InterlockedXXX functions)
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -wgpu

//METALLIB: @computeMain
Expand Down
1 change: 1 addition & 0 deletions tests/compute/atomics-groupshared.slang
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -vk -shaderobj
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -cuda -shaderobj
//TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Not supported in WGSL: Use of traditional atomics intrinsics (InterlockedXXX functions)
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name outputBuffer
Expand Down
1 change: 1 addition & 0 deletions tests/compute/atomics.slang
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -vk -shaderobj
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -cuda -shaderobj
//TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Not supported in WGSL: Use of traditional atomics intrinsics (InterlockedXXX functions)
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out, name outputBuffer
Expand Down
1 change: 1 addition & 0 deletions tests/compute/buffer-type-splitting.slang
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//TEST(compute):COMPARE_COMPUTE:-cpu
//TEST(compute):COMPARE_COMPUTE: -shaderobj
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Not supported in WGSL: Arrays of textures or buffers
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
Expand Down
1 change: 0 additions & 1 deletion tests/compute/constant-buffer-memory-packing.slang
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//TEST(compute, vulkan):COMPARE_COMPUTE_EX(filecheck-buffer=BUF):-vk -compute
//TEST(compute):COMPARE_COMPUTE_EX(filecheck-buffer=BUF):-mtl -compute

//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

// CPP/CUDA due to natural layout rules will recieve the following ROW matrix:
// {1,2,3}
Expand Down
1 change: 0 additions & 1 deletion tests/compute/constexpr.slang
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -gcompute -shaderobj
//DISABLED://TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -gcompute -shaderobj
//TEST(compute):COMPARE_COMPUTE_EX:-mtl -gcompute -shaderobj
//DISABLE_TEST(compute):COMPARE_COMPUTE:-wgpu

//TEST_INPUT: Texture2D(size=4, content = one):name tex
//TEST_INPUT: Sampler:name samp
Expand Down
1 change: 0 additions & 1 deletion tests/compute/func-cbuffer-param.slang
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-cpu -compute -shaderobj

//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

struct Data
{
Expand Down
1 change: 1 addition & 0 deletions tests/compute/interface-shader-param-in-struct.slang
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -dx12 -profile sm_6_0 -use-dxil
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Passing, but: slang-test: Test context Slang session is leaking #5610
//DISABLE_TEST(compute):COMPARE_COMPUTE:-wgpu

// A lot of the setup is the same as for `interface-shader-param`,
Expand Down
1 change: 1 addition & 0 deletions tests/compute/interface-shader-param.slang
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute
//TEST(compute):COMPARE_COMPUTE_EX:-cpu -compute
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Passing, but: slang-test: Test context Slang session is leaking #5610
//DISABLE_TEST(compute):COMPARE_COMPUTE:-wgpu

// First we will define some fake interfaces for testing.
Expand Down
1 change: 1 addition & 0 deletions tests/compute/loop-unroll.slang
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Note VK output is not loop unrolled
//TEST(compute):COMPARE_COMPUTE:-vk -shaderobj
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Not supported in WGSL: Arrays of textures or buffers
//DISABLE_TEST(compute):COMPARE_COMPUTE:-wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out, name buffers[0]
Expand Down
1 change: 0 additions & 1 deletion tests/compute/matrix-layout.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -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
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

// Not testing on Vulkan because of lack of support
// for integer matrices in GLSL. Slang needs to
Expand Down
1 change: 1 addition & 0 deletions tests/compute/texture-get-dimensions.slang
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//DISABLE_TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj
// TODO(JS): Doesn't work on CUDA as there aren't any CUDA functions to get dimensions.
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-cuda -compute -shaderobj
// Not supported in WGSL: 1D array texture not supported in WGSL
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -wgpu

//TEST_INPUT: Texture1D(size=4, content = one):name t1D
Expand Down
1 change: 1 addition & 0 deletions tests/compute/texture-sampling.slang
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
//TEST_INPUT: Sampler:name=samplerState
//TEST_INPUT: ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
// There is no texture_1d_array type in WGSL https://github.com/shader-slang/slang/issues/5223
// Not supported in WGSL: 1D array texture not supported in WGSL
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -wgpu

Texture1D t1D;
Expand Down
1 change: 1 addition & 0 deletions tests/compute/texture-simple.slang
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
//DISABLE_TEST_INPUT: Texture1D(format=R_Float32, size=4, content = one, mipMaps=1):name tLoad1D
//Texture1D<float> tLoad1D;

// Not supported in WGSL: 1D array texture not supported in WGSL
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -wgpu

//TEST_INPUT: Texture1D(size=4, content = one):name t1D
Expand Down
1 change: 1 addition & 0 deletions tests/compute/transcendental-double.slang
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// When using double on vulkan the values are incorrect(!)
//DISABLE_TEST(compute,vulkan):COMPARE_COMPUTE:-vk -output-using-type -shaderobj
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Not supported in WGSL: Double and other unsupported scalar types
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0 0 0 0 0], stride=4):out,name=outputBuffer
Expand Down
26 changes: 0 additions & 26 deletions tests/expected-failure-github.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,14 @@ tests/language-feature/saturated-cooperation/fuse.slang (vk)
tests/bugs/byte-address-buffer-interlocked-add-f32.slang (vk)
tests/serialization/obfuscated-serialized-module-test.slang.2 syn (mtl)
tests/autodiff/custom-intrinsic.slang.2 syn (wgpu)
tests/bugs/atomic-coerce.slang.3 syn (wgpu)
tests/bugs/buffer-swizzle-store.slang.3 syn (wgpu)
tests/bugs/dxbc-double-problem.slang.6 syn (wgpu)
tests/bugs/frexp-double.slang.7 syn (wgpu)
tests/bugs/gh-3980.slang.7 syn (wgpu)
tests/bugs/gh-518.slang.2 syn (wgpu)
tests/bugs/op-assignment-unify-mat.slang.4 syn (wgpu)
tests/bugs/user-attribute-lookup.slang.2 syn (wgpu)
tests/compute/atomics (wgpu)
tests/compute/atomics-buffer (wgpu)
tests/compute/atomics-groupshared (wgpu)
tests/compute/buffer-type-splitting (wgpu)
tests/compute/constant-buffer-memory-packing.slang.6 syn (wgpu)
tests/compute/constexpr.slang.2 syn (wgpu)
tests/compute/func-cbuffer-param.slang.4 syn (wgpu)
tests/compute/interface-shader-param-in-struct.slang.4 syn (wgpu)
tests/compute/interface-shader-param.slang.5 syn (wgpu)
tests/compute/loop-unroll.slang.7 syn (wgpu)
tests/compute/matrix-layout.hlsl.3 syn (wgpu)
tests/compute/texture-get-dimensions (wgpu)
tests/compute/texture-sampling (wgpu)
tests/compute/texture-simple (wgpu)
tests/compute/transcendental-double (wgpu)
tests/hlsl-intrinsic/byte-address-buffer/byte-address-struct.slang.5 syn (wgpu)
tests/hlsl-intrinsic/classify-double.slang.6 syn (wgpu)
tests/hlsl-intrinsic/matrix-float.slang.6 syn (wgpu)
tests/hlsl-intrinsic/matrix-int.slang.6 syn (wgpu)
tests/hlsl-intrinsic/scalar-double-simple.slang.7 syn (wgpu)
tests/hlsl/packoffset.slang.5 syn (wgpu)
tests/language-feature/constants/static-const-in-generic-interface.slang.1 syn (wgpu)
tests/language-feature/enums/strongly-typed-id.slang.1 syn (wgpu)
tests/language-feature/generics/tuple.slang.1 syn (wgpu)
tests/language-feature/generics/variadic-0.slang.4 syn (wgpu)
tests/language-feature/shader-params/interface-shader-param-ordinary.slang.4 syn (wgpu)
tests/language-feature/swizzles/matrix-swizzle-write-array.slang.3 syn (wgpu)
tests/language-feature/swizzles/matrix-swizzle-write-swizzle.slang.3 syn (wgpu)
tests/optimization/func-resource-result/func-resource-result-complex.slang.2 syn (wgpu)
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -dx12 -use-dxil -shaderobj
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-slang -vk -compute -shaderobj
//TEST(compute):COMPARE_COMPUTE_EX:-slang -cuda -compute -shaderobj
// WGSL: Signed int initialized using unsigned int #5283
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

// Note: This input should really be just a `ByteAddressBuffer`,
Expand Down
1 change: 1 addition & 0 deletions tests/hlsl-intrinsic/classify-double.slang
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj -render-feature double
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-cuda -compute -shaderobj
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Not supported in WGSL: Double and other unsupported scalar types
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

// inf, -inf, nan, finite
Expand Down
1 change: 1 addition & 0 deletions tests/hlsl-intrinsic/matrix-float.slang
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//DISABLE_TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -output-using-type -shaderobj
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-cuda -compute -output-using-type -shaderobj
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Not supported in WGSL: Integer matrices, Double and other unsupported scalar types
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name outputBuffer
Expand Down
1 change: 1 addition & 0 deletions tests/hlsl-intrinsic/matrix-int.slang
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//DISABLE_TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-cuda -compute -shaderobj
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Not supported in WGSL: Integer matrices
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name outputBuffer
Expand Down
1 change: 1 addition & 0 deletions tests/hlsl-intrinsic/scalar-double-simple.slang
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj -render-feature double
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-cuda -compute -shaderobj
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Not supported in WGSL: Double and other unsupported scalar types
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0 0 0 0 0], stride=4):out,name outputBuffer
Expand Down
1 change: 0 additions & 1 deletion tests/hlsl/packoffset.slang
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// Metal does not support custom data layout.
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl

//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
RWStructuredBuffer<float> outputBuffer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// static-const-in-generic-interface.slang

//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK): -shaderobj
// WGSL: Functions cannot be called at module scope #5607
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

// Test that `static const` variable declarations inside of
Expand Down
1 change: 1 addition & 0 deletions tests/language-feature/enums/strongly-typed-id.slang
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK): -shaderobj
// WGSL: No matching overload for operator... #5606
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

enum MyId : uint {}
Expand Down
1 change: 1 addition & 0 deletions tests/language-feature/generics/tuple.slang
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK): -shaderobj -output-using-type
// WGPU: f16 extension not allowed in current environment #5605
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

//TEST_INPUT:ubuffer(data=[0 0 0 0], stride=4):out,name=outputBuffer
Expand Down
1 change: 1 addition & 0 deletions tests/language-feature/generics/variadic-0.slang
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK): -shaderobj -output-using-type
//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK): -cpu -shaderobj -output-using-type
//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK): -vk -shaderobj -output-using-type
// WGPU: f16 extension not allowed in current environment #5605
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

//TEST:SIMPLE(filecheck=CHECK): -target glsl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -dx12 -profile sm_6_0 -use-dxil
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute
//DISABLE_TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl
// Slang-RHI/WGPU: Too small buffer is bound #5604
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

interface IModifier
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//TEST(compute):COMPARE_COMPUTE: -compute -shaderobj -output-using-type
//TEST(compute, vulkan):COMPARE_COMPUTE: -vk -compute -shaderobj -output-using-type
//TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl -output-using-type
// WGSL: Assign to swizzle expression not allowed #5603
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

// Test that matrix swizzle writes work correctly
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//TEST(compute):COMPARE_COMPUTE: -compute -shaderobj -output-using-type
//TEST(compute, vulkan):COMPARE_COMPUTE: -vk -compute -shaderobj -output-using-type
//TEST(compute):COMPARE_COMPUTE:-slang -shaderobj -mtl -output-using-type
// WGSL: Assign to swizzle expression not allowed #5603
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

// Test that writing to swizzles of matrix swizzles works correctly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

//TEST(compute):COMPARE_COMPUTE_EX:-slang -compute -shaderobj
//TEST(compute, vulkan):COMPARE_COMPUTE_EX:-vk -compute -shaderobj
// Not supported in WGSL: Arrays of textures or buffers
//DISABLE_TEST(compute):COMPARE_COMPUTE_EX:-wgpu

// Test that a function that returns a resource type can be
Expand Down

0 comments on commit 93f5d13

Please sign in to comment.