HLSL: Fix hull-shader test.
authorJohn Kessenich <cepheus@frii.com>
Tue, 27 Jun 2017 01:56:41 +0000 (19:56 -0600)
committerJohn Kessenich <cepheus@frii.com>
Tue, 27 Jun 2017 01:56:41 +0000 (19:56 -0600)
Test/baseResults/hlsl.hull.void.tesc.out
Test/hlsl.hull.void.tesc

index b6e417a..8dc38fc 100644 (file)
@@ -2,6 +2,7 @@ hlsl.hull.void.tesc
 Shader version: 500
 vertices = 3
 vertex spacing = fractional_even_spacing
+triangle order = ccw
 0:? Sequence
 0:26  Function Definition: @main(struct-VS_OUT-vf31[3]; ( temp structure{ temp 3-component vector of float cpoint})
 0:26    Function Parameters: 
@@ -57,6 +58,7 @@ Linked tessellation control stage:
 Shader version: 500
 vertices = 3
 vertex spacing = fractional_even_spacing
+triangle order = ccw
 0:? Sequence
 0:26  Function Definition: @main(struct-VS_OUT-vf31[3]; ( temp structure{ temp 3-component vector of float cpoint})
 0:26    Function Parameters: 
@@ -116,6 +118,7 @@ vertex spacing = fractional_even_spacing
                               ExecutionMode 4 OutputVertices 3
                               ExecutionMode 4 Triangles
                               ExecutionMode 4 SpacingFractionalEven
+                              ExecutionMode 4 VertexOrderCcw
                               Source HLSL 500
                               Name 4  "main"
                               Name 8  "VS_OUT"
index 971d613..c96ecb4 100644 (file)
@@ -19,7 +19,7 @@ struct HS_OUT
 
 [domain("tri")]
 [partitioning("fractional_even")]
-[outputtopology("line")]
+[outputtopology("triangle_ccw")]
 [outputcontrolpoints(3)]
 [patchconstantfunc("PCF")]
 HS_OUT main(InputPatch<VS_OUT, 3> ip)