From: Andrew Woloszyn Date: Thu, 25 Aug 2016 14:01:18 +0000 (-0400) Subject: Fix for #474. Add Vertex ordering and Spacing to tessellation shaders. X-Git-Tag: upstream/0.1.0~662^2^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa9af97e36883754369b8bcff612154a070e8313;p=platform%2Fupstream%2FVK-GL-CTS.git Fix for #474. Add Vertex ordering and Spacing to tessellation shaders. Change-Id: I33760e0f23e6b8489e38cb93ad00e3483dc73d16 --- diff --git a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp index eb58bdc..3d5d26c 100644 --- a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp +++ b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmInstructionTests.cpp @@ -3999,6 +3999,8 @@ void createCombinedModule(vk::SourceCollections& dst, InstanceContext) "OpExecutionMode %tessc_main OutputVertices 3\n" "OpExecutionMode %tesse_main Triangles\n" + "OpExecutionMode %tesse_main SpacingEqual\n" + "OpExecutionMode %tesse_main VertexOrderCcw\n" "OpExecutionMode %frag_main OriginUpperLeft\n" @@ -4545,7 +4547,11 @@ void createMultipleEntries(vk::SourceCollections& dst, InstanceContext) "OpEntryPoint TessellationEvaluation %tesse1_main \"tesse1\" %stream %gl_tessCoord %in_position %out_color %in_color \n" "OpEntryPoint TessellationEvaluation %tesse2_main \"tesse2\" %stream %gl_tessCoord %in_position %out_color %in_color \n" "OpExecutionMode %tesse1_main Triangles\n" + "OpExecutionMode %tesse1_main SpacingEqual\n" + "OpExecutionMode %tesse1_main VertexOrderCcw\n" "OpExecutionMode %tesse2_main Triangles\n" + "OpExecutionMode %tesse2_main SpacingEqual\n" + "OpExecutionMode %tesse2_main VertexOrderCcw\n" "OpName %tesse1_main \"tesse1\"\n" "OpName %tesse2_main \"tesse2\"\n" "OpName %per_vertex_out \"gl_PerVertex\"\n"