summaryrefslogtreecommitdiff
path: root/tests/metal/texture-multisample.slang
diff options
context:
space:
mode:
authorJames Helferty (NVIDIA) <jhelferty@nvidia.com>2025-09-30 14:21:27 -0400
committerGitHub <noreply@github.com>2025-09-30 18:21:27 +0000
commit8086adc90b69f3199767c0617e2c429ce6b27f67 (patch)
treecbc54d5dbb3ad13329abc49f3aabf25ee199b7d6 /tests/metal/texture-multisample.slang
parentee5adb87050ae7c0b96056a67dddc5d48174e695 (diff)
Enable metal tests (#8446)
Enables all tests/metal/ tests that can be easily enabled. These tests were not originally designed as render tests; they are generally being enabled for pipecleaning purposes, and will not be rigorously testing the corresponding funcitonality. Where they cannot be enabled as render tests, and a metallib test wasn't already enabled, a metallib test was enabled instead (where possible). Fixes #7892
Diffstat (limited to 'tests/metal/texture-multisample.slang')
-rw-r--r--tests/metal/texture-multisample.slang11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/metal/texture-multisample.slang b/tests/metal/texture-multisample.slang
index 4bd6e3be0..310c165c1 100644
--- a/tests/metal/texture-multisample.slang
+++ b/tests/metal/texture-multisample.slang
@@ -1,8 +1,13 @@
//TEST:SIMPLE(filecheck=METAL): -stage compute -entry computeMain -target metal -DEMIT_SOURCE
+//DISABLE_TEST:SIMPLE(filecheck=METALLIB): -stage compute -entry computeMain -target metallib -DEMIT_SOURCE
+
+// Disabled due to location argument being passed wrong argument type
+// TODO: github issue #8457
+
+// METALLIB-NOT: error :
+// METALLIB: @computeMain
-// TEST_INPUT: RWTexture2D(size=4, content = zero, sampleCount=2):name texMS
Texture2DMS<float4> texMS;
-// TEST_INPUT: RWTexture2D(size=4, content = zero):name output
RWTexture2D<float4> output;
[numthreads(1, 1, 1)]
@@ -13,4 +18,4 @@ void computeMain()
// METAL: {{.*}}access::read{{.*}}
float4 v = texMS.Load(location, sampleIndex);
output[location] = v;
-} \ No newline at end of file
+}