VK-GL-CTS
VK-GL-CTS copied to clipboard
A PR from wenkezh
A Solution to issue 324: "KHR-GL46.arrays_of_arrays_gl.InteractionInterfaceArrays1" tests shader storage buffer object array of arrays in all 6 stages of pipeline. 4 ssbo instances declared in each shader, and CTS expect a successful compilation and link. But ogl spec doesn't require vertex/tessellation/geometry shaders to support 4 ssbos. It's implementation dependent and cannot exceeds implementation-dependent limits. The limits for vertex, tessellation control, tessellation evaluation and geometry can be obtained by calling GetIntegerv with pname values of MAX_VERTEX_SHADER_STORAGE_BLOCKS, MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS, MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS and MAX_GEOMETRY_SHADER_STORAGE_BLOCKS, respectively.
https://github.com/KhronosGroup/VK-GL-CTS/issues/324
Merged here b14b4f652ad05714cdcaaf14815dce3cd31bcac5