summaryrefslogtreecommitdiffstats
path: root/tests/hlsl
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2025-02-14 12:11:29 -0800
committerGitHub <noreply@github.com>2025-02-14 12:11:29 -0800
commite043428c5ac263fdb61072bd769fef769e8b08e4 (patch)
tree34b47644bb57f4d6a683365c9216a0867c2d890e /tests/hlsl
parenta70113c425cbd5bba2e83e04e521fb594143cb9e (diff)
Enable Hull shader test for SPIRV (#6348)
* Enable Hull shader test for SPIRV
Diffstat (limited to 'tests/hlsl')
-rw-r--r--tests/hlsl/simple-hull-shader-1.slang11
1 files 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
+}