Remove invalid precision qualifier usage
authorPyry Haulos <phaulos@google.com>
Tue, 20 Sep 2016 22:11:11 +0000 (15:11 -0700)
committerPyry Haulos <phaulos@google.com>
Tue, 20 Sep 2016 22:12:11 +0000 (15:12 -0700)
dEQP-VK.pipeline.vertex_input tests were incorrectly using highp
qualifier with double types. That is not allowed, and default precision
in GLSL 4.4 shaders is highp anyway.

Fixes #458

Change-Id: I4b17b2273a8bf258bb8aec5737bd1c2a38aa49ce

external/vulkancts/modules/vulkan/pipeline/vktPipelineVertexInputTests.cpp

index 167860e..4989839 100644 (file)
@@ -442,7 +442,7 @@ std::string VertexInputTest::getGlslInputDeclarations (void) const
        {
                const GlslTypeDescription& glslTypeDesc = s_glslTypeDescriptions[m_attributeInfos[attributeNdx].glslType];
 
-               glslInputs << "layout(location = " << location << ") in highp " << glslTypeDesc.name << " attr" << attributeNdx << ";\n";
+               glslInputs << "layout(location = " << location << ") in " << glslTypeDesc.name << " attr" << attributeNdx << ";\n";
                location += glslTypeDesc.vertexInputCount;
        }