From e043428c5ac263fdb61072bd769fef769e8b08e4 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Fri, 14 Feb 2025 12:11:29 -0800 Subject: Enable Hull shader test for SPIRV (#6348) * Enable Hull shader test for SPIRV --- tests/hlsl/simple-hull-shader-1.slang | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/hlsl/simple-hull-shader-1.slang b/tests/hlsl/simple-hull-shader-1.slang index 20033ed37..b3f3e7688 100644 --- a/tests/hlsl/simple-hull-shader-1.slang +++ b/tests/hlsl/simple-hull-shader-1.slang @@ -1,7 +1,6 @@ //TEST:SIMPLE(filecheck=HLSL):-target hlsl -entry hullMain -stage hull -allow-glsl //TEST:SIMPLE(filecheck=GLSL):-target glsl -entry hullMain -stage hull -allow-glsl -// Currently SPIR-V fails to compile this hull shader (#4914) -//DISABLE_TEST:SIMPLE(filecheck=SPIRV):-target spirv -entry hullMain -stage hull -allow-glsl +//TEST:SIMPLE(filecheck=SPIRV):-target spirv -entry hullMain -stage hull -allow-glsl //HLSL: hullMain @@ -9,9 +8,9 @@ //GLSL-DAG: location = 1 //GLSL-DAG: location = 2 -//SPIRV-DAG: location 0 -//SPIRV-DAG: location 1 -//SPIRV-DAG: location 2 +//SPIRV-DAG: OpDecorate {{.*}} Location 0 +//SPIRV-DAG: OpDecorate {{.*}} Location 1 +//SPIRV-DAG: OpDecorate {{.*}} Location 2 struct HsOut { @@ -50,4 +49,4 @@ HscOut constants() o.InsideTessFactor[0] = 0.5; o.InsideTessFactor[1] = 0.5; return o; -} \ No newline at end of file +} -- cgit v1.2.3