Handle component aliasing corner cases
authorJeannot Breton <jbreton@nvidia.com>
Wed, 21 Jun 2017 16:22:41 +0000 (11:22 -0500)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Sat, 1 Jul 2017 10:36:44 +0000 (06:36 -0400)
commit4cacfafc2c54872a9a76c3af4bbaad43049fde12
tree56a4f56832f3aa8f5bdc79cb326cea6ad8b1378d
parentb2e055c7d34f120de9a7ca4f8b54978735a5b3e6
Handle component aliasing corner cases

This change avoid vertex shader where every path access multiple
inputs aliased to any single component since an error is permitted
but not required

The change avoid dvec3/dvec4 since it should not be declared with
a component

The change avoid double/dvec2 with a component 1 or 3

Affects:

KHR-GL45.enhanced_layouts.input_component_aliasing

Components: OpenGL

VK-GL-CTS issue: 524

Change-Id: I062b4321becf96a218b8643ee1d089105bccc63a
external/openglcts/modules/gl/gl4cEnhancedLayoutsTests.cpp
external/openglcts/modules/gl/gl4cEnhancedLayoutsTests.hpp