diff options
| author | Harsh Aggarwal (NVIDIA) <haaggarwal@nvidia.com> | 2025-09-09 16:46:51 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-09 11:16:51 +0000 |
| commit | 63676c5e51d9d58d3cde7e296f82250b71538b85 (patch) | |
| tree | f4e82f3b45a7442d2d6e34e225a775f4f12940eb /tests | |
| parent | 3aff764c2b5d613f766538d27e0b9f448e7ed5ca (diff) | |
Fix #8314 - Enable tests/compute/texture-subscript.slang for CUDA (#8408)
The test can be enabled
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/compute/texture-subscript.slang | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/compute/texture-subscript.slang b/tests/compute/texture-subscript.slang index 75a6e5738..f651a42e3 100644 --- a/tests/compute/texture-subscript.slang +++ b/tests/compute/texture-subscript.slang @@ -1,5 +1,6 @@ //TEST:SIMPLE(filecheck=METAL): -target metal -entry computeMain -stage compute //TEST:SIMPLE(filecheck=METALLIB): -target metallib -entry computeMain -stage compute +//TEST:SIMPLE(filecheck=CUDA): -target cuda -entry computeMain -stage compute // Metal lacks RWTexture GFX backend support. // Due to this, Metal compute test is disabled //TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF): -slang -output-using-type -shaderobj -mtl @@ -8,6 +9,17 @@ //METAL-NOT: error 41402 //METALLIB: @computeMain +//CUDA: CUsurfObject outputTexture1D_{{[0-9]+}}; +//CUDA: CUsurfObject outputTexture2D_{{[0-9]+}}; +//CUDA: CUsurfObject outputTexture3D_{{[0-9]+}}; +//CUDA: globalParams_{{[0-9]+}}->outputTexture1D_{{[0-9]+}}[{{.*}}] +//CUDA: globalParams_{{[0-9]+}}->outputTexture2D_{{[0-9]+}}[{{.*}}] +//CUDA: globalParams_{{[0-9]+}}->outputTexture3D_{{[0-9]+}}[{{.*}}] +//CUDA: surf1Dread<{{.*}}> +//CUDA: surf2Dread<{{.*}}> +//CUDA: surf3Dread<{{.*}}> +//CUDA: surf2DLayeredread<{{.*}}> + //TEST_INPUT: RWTexture1D(format=RGBA8Sint, size=8, content = zero, mipMaps = 1):name outputTexture1D RWTexture1D<int4> outputTexture1D; |
