GL_ARB_enhanced_layouts: mind aliasing bit width
Currently, when location aliasing was happening, we were only checking
if the underlying numerical type was the same to allow it.
From page 67 (page 71 of the PDF) of the GLSL 4.60 v.5 spec:
" Further, when location aliasing, the aliases sharing the location
must have the same underlying numerical type and bit
width (floating-point or integer, 32-bit versus 64-bit, etc.)"
Additionally, we were repeating two times the same tests. For example
we would check if, with float and int, they would be allowed if float
was in the component 1 and int in component 3 two times. The test
generation has been now simplified.
Components: OpenGL
VK-GL-CTS issue: 1609
Affects:
KHR-GL44.enhanced_layouts.varying_location_aliasing_with_mixed_types
Change-Id: I33652ac447c0a536bebc8175f34abee45ad1cd2e