From b2e055c7d34f120de9a7ca4f8b54978735a5b3e6 Mon Sep 17 00:00:00 2001 From: "Juan A. Suarez Romero" Date: Wed, 21 Jun 2017 10:17:33 +0000 Subject: [PATCH] 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 --- .../openglcts/modules/gl/gl4cEnhancedLayoutsTests.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 -- 2.7.4