From 2a7c418cc7d9b4f520416635eb8a187f99a8f025 Mon Sep 17 00:00:00 2001 From: mchomicz Date: Thu, 3 Dec 2015 21:18:19 +0100 Subject: [PATCH] vktPipelineImageTests : fix missed datawhen construct shader code --- external/vulkancts/modules/vulkan/pipeline/vktPipelineImageTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/vulkancts/modules/vulkan/pipeline/vktPipelineImageTests.cpp b/external/vulkancts/modules/vulkan/pipeline/vktPipelineImageTests.cpp index 2c0ed18..ad02447 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()); -- 2.7.4