From: John Kessenich Date: Tue, 27 Jun 2017 01:56:41 +0000 (-0600) Subject: HLSL: Fix hull-shader test. X-Git-Tag: upstream/11.4.0~1095 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f54c0c487238d576255a50c821387c13b0d040b;p=platform%2Fupstream%2Fglslang.git HLSL: Fix hull-shader test. --- diff --git a/Test/baseResults/hlsl.hull.void.tesc.out b/Test/baseResults/hlsl.hull.void.tesc.out index b6e417a..8dc38fc 100644 --- a/Test/baseResults/hlsl.hull.void.tesc.out +++ b/Test/baseResults/hlsl.hull.void.tesc.out @@ -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" diff --git a/Test/hlsl.hull.void.tesc b/Test/hlsl.hull.void.tesc index 971d613..c96ecb4 100644 --- a/Test/hlsl.hull.void.tesc +++ b/Test/hlsl.hull.void.tesc @@ -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 ip)