From 28006e36d92f7709f7c5ad84d50d1c5584c42508 Mon Sep 17 00:00:00 2001 From: aidanfnv Date: Fri, 11 Apr 2025 18:47:32 -0700 Subject: Add slang-test check for D3D11 double support (#6761) Fixes #6171 This commit adds logic for reporting double support to the d3d11 backend, for running tests on GPUs that do not support D3D11_FEATURE_DOUBLES, and add checks for that support to tests that require the feature. --- tests/compute/transcendental-double.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/compute') diff --git a/tests/compute/transcendental-double.slang b/tests/compute/transcendental-double.slang index 025262429..dc35eb565 100644 --- a/tests/compute/transcendental-double.slang +++ b/tests/compute/transcendental-double.slang @@ -1,6 +1,6 @@ //TEST(compute):COMPARE_COMPUTE:-cuda -output-using-type -shaderobj //TEST(compute):COMPARE_COMPUTE:-cpu -output-using-type -shaderobj -//TEST(compute):COMPARE_COMPUTE: -output-using-type -shaderobj +//TEST(compute):COMPARE_COMPUTE: -output-using-type -shaderobj -render-feature double // Cos values are all 0 on D3d12(!) //DISABLE_TEST(compute):COMPARE_COMPUTE: -dx12 -output-using-type -shaderobj -- cgit v1.2.3