HLSL: Fix hull-shader test.

This commit is contained in:
John Kessenich 2017-06-26 19:56:41 -06:00
parent da9eb815b3
commit 4f54c0c487
2 changed files with 4 additions and 1 deletions

View 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"

View 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)