From 8086adc90b69f3199767c0617e2c429ce6b27f67 Mon Sep 17 00:00:00 2001 From: "James Helferty (NVIDIA)" Date: Tue, 30 Sep 2025 14:21:27 -0400 Subject: 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 --- tests/metal/test_buffer.slang | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/metal/test_buffer.slang') diff --git a/tests/metal/test_buffer.slang b/tests/metal/test_buffer.slang index 122af3b9a..78959aa10 100644 --- a/tests/metal/test_buffer.slang +++ b/tests/metal/test_buffer.slang @@ -1,13 +1,17 @@ // Test that Buffer maps to texture_buffer in Metal //TEST:SIMPLE(filecheck=METAL): -stage compute -entry computeMain -target metal +//TEST:SIMPLE(filecheck=METALLIB): -stage compute -entry computeMain -target metallib +// No COMPARE_COMPUTE test; currently the test framework can't setup a Buffer<> +// TODO: github issue #8456 // METAL: texture_buffer inputBuffer_{{.*}} Buffer inputBuffer; RWStructuredBuffer outputBuffer; +// METALLIB: @computeMain [numthreads(4, 1, 1)] void computeMain(uint3 dtid : SV_DispatchThreadID) { -- cgit v1.2.3