From: Juan A. Suarez Romero Date: Wed, 21 Jun 2017 10:17:33 +0000 (+0000) Subject: Double fragment inputs require flat qualifier X-Git-Tag: upstream/0.1.0~223 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2e055c7d34f120de9a7ca4f8b54978735a5b3e6;p=platform%2Fupstream%2FVK-GL-CTS.git Double fragment inputs require flat qualifier According to GLSL spec, fragment inputs of double type require "flat" qualifier. Affects: KHR-GL45.enhanced_layouts.xfb_global_buffer VK-GL-CTS issue: 522 Components: OpenGL Change-Id: Ibd404b0ad63cbee09e157ea65a5efda932582a62 --- diff --git a/external/openglcts/modules/gl/gl4cEnhancedLayoutsTests.cpp b/external/openglcts/modules/gl/gl4cEnhancedLayoutsTests.cpp index a9246c1..016c9cf 100644 --- a/external/openglcts/modules/gl/gl4cEnhancedLayoutsTests.cpp +++ b/external/openglcts/modules/gl/gl4cEnhancedLayoutsTests.cpp @@ -24133,12 +24133,12 @@ std::string XFBGlobalBufferTest::getShaderSource(GLuint test_case_index, Utils:: "flat in TYPE chichi;\n" "flat in TYPE bulma;\n" "in Vegeta {\n" - " TYPE trunk;\n" - " TYPE bra;\n" + " flat TYPE trunk;\n" + " flat TYPE bra;\n" "} vegeta;\n" "in Goku {\n" - " TYPE gohan;\n" - " TYPE goten;\n" + " flat TYPE gohan;\n" + " flat TYPE goten;\n" "} goku;\n" "\n" "out vec4 fs_out;\n" @@ -24237,12 +24237,12 @@ std::string XFBGlobalBufferTest::getShaderSource(GLuint test_case_index, Utils:: "layout ( xfb_offset = 2 * type_size) flat out TYPE chichi;\n" "layout (xfb_buffer = 1, xfb_offset = 0) flat out TYPE bulma;\n" "layout (xfb_buffer = 1, xfb_offset = 1 * type_size) out Vegeta {\n" - " TYPE trunk;\n" - " TYPE bra;\n" + " flat TYPE trunk;\n" + " flat TYPE bra;\n" "} vegeta;\n" "layout ( xfb_offset = 0) out Goku {\n" - " TYPE gohan;\n" - " TYPE goten;\n" + " flat TYPE gohan;\n" + " flat TYPE goten;\n" "} goku;\n" "\n" // Uniform block must be declared with std140, otherwise each block member is not packed