Remove test cases for doubles from varying components test
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 27 Sep 2017 08:37:56 +0000 (10:37 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Wed, 27 Sep 2017 09:04:08 +0000 (11:04 +0200)
Usage of the component layout qualifier (introduced with
ARB_enhanced_layouts) with double types has specific rules and
restrictions (see page 67 of the GLSL 4.60 spec), but the tests
ignore all of these completely and just follow the same code
paths we use for single-precision types, making the resulting
shaders completely bogus.

Remove these tests until we can provide new ones that make
sense for double precision and follow the specs.

Components: OpenGL
VK-GL-CTS issue: 714

Affects:
KHR-GL45.enhanced_layouts.varying_components
KHR-GL46.enhanced_layouts.varying_components

Change-Id: I2d3c1c645f5a18a83feee5c7b28cb023bd255808

external/openglcts/modules/gl/gl4cEnhancedLayoutsTests.cpp

index c22db73..4ef77c4 100644 (file)
@@ -14808,14 +14808,7 @@ glw::GLuint VaryingComponentsTest::getTestCaseNumber()
 /* Prepare test cases */
 void VaryingComponentsTest::testInit()
 {
-       m_test_cases.push_back(testCase(GVEC4, Utils::Type::Double));
-       m_test_cases.push_back(testCase(SCALAR_GVEC3, Utils::Type::Double));
-       m_test_cases.push_back(testCase(GVEC3_SCALAR, Utils::Type::Double));
-       m_test_cases.push_back(testCase(GVEC2_GVEC2, Utils::Type::Double));
-       m_test_cases.push_back(testCase(GVEC2_SCALAR_SCALAR, Utils::Type::Double));
-       m_test_cases.push_back(testCase(SCALAR_GVEC2_SCALAR, Utils::Type::Double));
-       m_test_cases.push_back(testCase(SCALAR_SCALAR_GVEC2, Utils::Type::Double));
-       m_test_cases.push_back(testCase(SCALAR_SCALAR_SCALAR_SCALAR, Utils::Type::Double));
+       // FIXME: add tests for doubles, which have specific rules
 
        m_test_cases.push_back(testCase(GVEC4, Utils::Type::Float));
        m_test_cases.push_back(testCase(SCALAR_GVEC3, Utils::Type::Float));