From: Pyry Haulos Date: Thu, 7 Jul 2016 21:01:50 +0000 (-0700) Subject: Change tes/geom shaders in timestamp tests use 310 es X-Git-Tag: upstream/0.1.0~662^2~86^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d47309690aa9b2e685b267ea6395e88b32c855a8;p=platform%2Fupstream%2FVK-GL-CTS.git Change tes/geom shaders in timestamp tests use 310 es Vertex and fragment shaders were already using that GLSL version. --- diff --git a/external/vulkancts/modules/vulkan/pipeline/vktPipelineTimestampTests.cpp b/external/vulkancts/modules/vulkan/pipeline/vktPipelineTimestampTests.cpp index 744c84a..692367e 100644 --- a/external/vulkancts/modules/vulkan/pipeline/vktPipelineTimestampTests.cpp +++ b/external/vulkancts/modules/vulkan/pipeline/vktPipelineTimestampTests.cpp @@ -1367,7 +1367,8 @@ void AdvGraphicsTest::initPrograms(SourceCollections& programCollection) const BasicGraphicsTest::initPrograms(programCollection); programCollection.glslSources.add("dummy_geo") << glu::GeometrySource( - "#version 450 \n" + "#version 310 es\n" + "#extension GL_EXT_geometry_shader : enable\n" "layout(triangles) in;\n" "layout(triangle_strip, max_vertices = 3) out;\n" "layout(location = 0) in highp vec4 in_vtxColor[];\n" @@ -1384,7 +1385,8 @@ void AdvGraphicsTest::initPrograms(SourceCollections& programCollection) const "}\n"); programCollection.glslSources.add("basic_tcs") << glu::TessellationControlSource( - "#version 450 \n" + "#version 310 es\n" + "#extension GL_EXT_tessellation_shader : enable\n" "layout(vertices = 3) out;\n" "layout(location = 0) in highp vec4 color[];\n" "layout(location = 0) out highp vec4 vtxColor[];\n" @@ -1399,7 +1401,8 @@ void AdvGraphicsTest::initPrograms(SourceCollections& programCollection) const "}\n"); programCollection.glslSources.add("basic_tes") << glu::TessellationEvaluationSource( - "#version 450 \n" + "#version 310 es\n" + "#extension GL_EXT_tessellation_shader : enable\n" "layout(triangles, fractional_even_spacing, ccw) in;\n" "layout(location = 0) in highp vec4 colors[];\n" "layout(location = 0) out highp vec4 vtxColor;\n"