From 751ca91a320892c797e4b2bf18d9983141ab17d2 Mon Sep 17 00:00:00 2001 From: Jacob Hughes Date: Mon, 16 Oct 2023 21:10:12 -0400 Subject: [PATCH] debug_printf: Disable hlsl-out test DXC doesn't support printf when targeting dxil, disable the test to allow CI to pass. --- tests/out/hlsl/debug-printf-s.hlsl | 11 ----------- tests/out/hlsl/debug-printf-s.ron | 12 ------------ tests/snapshots.rs | 8 ++------ 3 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 tests/out/hlsl/debug-printf-s.hlsl delete mode 100644 tests/out/hlsl/debug-printf-s.ron diff --git a/tests/out/hlsl/debug-printf-s.hlsl b/tests/out/hlsl/debug-printf-s.hlsl deleted file mode 100644 index 638bbf0d9a..0000000000 --- a/tests/out/hlsl/debug-printf-s.hlsl +++ /dev/null @@ -1,11 +0,0 @@ -void main_1() -{ - printf("%d",42); - return; -} - -[numthreads(1, 1, 1)] -void main() -{ - main_1(); -} diff --git a/tests/out/hlsl/debug-printf-s.ron b/tests/out/hlsl/debug-printf-s.ron deleted file mode 100644 index a07b03300b..0000000000 --- a/tests/out/hlsl/debug-printf-s.ron +++ /dev/null @@ -1,12 +0,0 @@ -( - vertex:[ - ], - fragment:[ - ], - compute:[ - ( - entry_point:"main", - target_profile:"cs_5_1", - ), - ], -) diff --git a/tests/snapshots.rs b/tests/snapshots.rs index 3a3768a309..4b1ddf9030 100644 --- a/tests/snapshots.rs +++ b/tests/snapshots.rs @@ -783,7 +783,7 @@ fn convert_wgsl() { ), ( "debug-printf", - Targets::WGSL | Targets::GLSL | Targets::SPIRV | Targets::HLSL, + Targets::WGSL | Targets::GLSL | Targets::SPIRV, ), ]; @@ -859,11 +859,7 @@ fn convert_spv_all() { true, Targets::METAL | Targets::GLSL | Targets::HLSL | Targets::WGSL, ); - convert_spv( - "debug-printf-s", - false, - Targets::GLSL | Targets::HLSL | Targets::WGSL, - ); + convert_spv("debug-printf-s", false, Targets::GLSL | Targets::WGSL); } #[cfg(feature = "glsl-in")]