vktPipelineImageTests : fix missed datawhen construct shader code
authormchomicz <miroslaw.chomicz@intel.com>
Thu, 3 Dec 2015 20:18:19 +0000 (21:18 +0100)
committerscygan <slawomir.cygan@intel.com>
Thu, 3 Dec 2015 20:31:56 +0000 (21:31 +0100)
external/vulkancts/modules/vulkan/pipeline/vktPipelineImageTests.cpp

index 2c0ed18002810e7555b1f4bb52c9c1e3a5e664c0..ad02447ccbdb2cbdb2371cfba9b0247bdaebd24f 100644 (file)
@@ -145,7 +145,7 @@ void ImageTest::initPrograms (SourceCollections& sourceCollections) const
                                << "layout(location = 0) out highp vec4 fragColor;\n"
                                << "void main (void)\n"
                                << "{\n"
-                               << "    fragColor = (texture(texSampler, vtxTexCoords." << texCoordSwizzle << std::fixed << ") * vec4" << formatInfo.lookupScale << ") + vec4" << formatInfo.lookupBias << ";\n"
+                               << "    fragColor = (texture(texSampler, vtxTexCoords." << texCoordSwizzle << std::scientific << ") * vec4" << formatInfo.lookupScale << ") + vec4" << formatInfo.lookupBias << ";\n"
                                << "}\n";
 
        sourceCollections.glslSources.add("tex_vert") << glu::VertexSource(vertexSrc.str());