Respect GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS
KHR-GL45.enhanced_layouts.xfb_override_qualifiers_with_api
generates shaders that capture XFB for varyings of all types.
For the cases of dmat4x3, dmat3x4 and dmat4, this requires
over 64 transform feedback components in total, which is larger
than the minimum value that implementations are required to
support for GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS,
which the OpenGL 4.6 spec sets in 64. For implementations that
support this minimum, the generated shaders are invalid and
expected to fail to link.
Check the required component size of the XFB for the generated
shaders and skip them if they exceed the implementation limit.
At worse, for implementations that only support the minimum
number of transform feedback components required by the spec
it would only skip the 3 largest types (out of 34 being tested).
Components: OpenGL
VK-GL-CTS issue: 776
Affects:
KHR-GL45.enhanced_layouts.xfb_override_qualifiers_with_api
Change-Id: I51c9da494f96a0746f74116f817d99afd070a9ee