From: mchomicz Date: Thu, 3 Dec 2015 20:18:19 +0000 (+0100) Subject: vktPipelineImageTests : fix missed datawhen construct shader code X-Git-Tag: upstream/0.1.0~812^2~498^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a7c418cc7d9b4f520416635eb8a187f99a8f025;p=platform%2Fupstream%2FVK-GL-CTS.git vktPipelineImageTests : fix missed datawhen construct shader code --- diff --git a/external/vulkancts/modules/vulkan/pipeline/vktPipelineImageTests.cpp b/external/vulkancts/modules/vulkan/pipeline/vktPipelineImageTests.cpp index 2c0ed1800..ad02447cc 100644 --- a/external/vulkancts/modules/vulkan/pipeline/vktPipelineImageTests.cpp +++ b/external/vulkancts/modules/vulkan/pipeline/vktPipelineImageTests.cpp @@ -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());