GL_ARB_enhanced_layouts: mind double types
authorAndres Gomez <agomez@igalia.com>
Tue, 19 Feb 2019 00:57:03 +0000 (02:57 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 16 Apr 2019 09:18:24 +0000 (05:18 -0400)
commit925dac00098021153be3919703f1261ac574206a
tree4972112350d56316f5a2b7a080d8c37b3a4d5c65
parentbf6d0340b051154326551cce12995d015071009c
GL_ARB_enhanced_layouts: mind double types

Double precision types have specific restrictions and rules regarding
the use of the "component" layout qualifier. This change tests those
rules.

Additionally, since the new test is more generic and covers several
cases of the varying_exceeding_components test, simplified the latter.

Components: OpenGL

VK-GL-CTS issue: 725

Affects:

KHR-GL44.enhanced_layouts.varying_array_components
KHR-GL44.enhanced_layouts.varying_component_of_invalid_type
KHR-GL44.enhanced_layouts.varying_components
KHR-GL44.enhanced_layouts.varying_exceeding_components
KHR-GL44.enhanced_layouts.varying_invalid_value_component

Change-Id: Ie20a768b3002f82a1205db338b20ee28b58380f1
external/openglcts/data/mustpass/gl/khronos_mustpass/4.6.1.x/gl44-master.txt
external/openglcts/data/mustpass/gl/khronos_mustpass/4.6.1.x/gl45-master.txt
external/openglcts/data/mustpass/gl/khronos_mustpass/4.6.1.x/gl46-master.txt
external/openglcts/modules/gl/gl4cEnhancedLayoutsTests.cpp
external/openglcts/modules/gl/gl4cEnhancedLayoutsTests.hpp