glslang icon indicating copy to clipboard operation
glslang copied to clipboard

#extension GL_ARB_arrays_of_arrays meet compiler error

Open chuxin12345 opened this issue 4 years ago • 2 comments

Hi, when version is small than 430 and enable #extension GL_ARB_arrays_of_arrays, glslang can't solved.

1> need add "GL_ARB_arrays_of_arrays" tags 2> need fix arrayOfArrayVersionCheck() in parseHelper.cpp PS: https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_arrays_of_arrays.txt

#version 400 core #extension GL_ARB_arrays_of_arrays : require

uniform int uarray2[2][4];

out int out_result;

void main() { out_result = uarray2[0][1]; }

ERROR: 0:4: 'arrays of arrays' : not supported for this version or the enabled extensions ERROR: 1 compilation errors. No code generated.

chuxin12345 avatar May 25 '21 13:05 chuxin12345

I have closed #1057 in deference to this issue. As part of that issue, we will also need to similarly enable recognition of GL_ARB_shader_storage_buffer_object.

greg-lunarg avatar May 27 '21 23:05 greg-lunarg

I will not be able to fix this in the short term. If someone wishes to attempt an implementation, please check with me before starting.

greg-lunarg avatar May 27 '21 23:05 greg-lunarg