You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There currently is no language in the GLSL spec disallowing whole array operations for runtime-sized arrays. For an example, see KhronosGroup/glslang#2733.
SPIR-V virtually disallows these by disallowing an OpLoad of OpTypeRuntimearray. I presume that disallowing these in GLSL was an oversight.
Shall we proceed with creating a change to GLSL to disallow these?
The text was updated successfully, but these errors were encountered:
Imagination's GLSL ES compiler rejects whole array operations that involve a runtime-sized array with a compilation error. I would be in favour of codifying this behaviour in the spec.
I think we primarily need approval from the GL working group, since GL implementations might have been accepting this (although we know that at least 2 weren't). It's scheduled to be discussed, so we should have an answer soon.
There currently is no language in the GLSL spec disallowing whole array operations for runtime-sized arrays. For an example, see KhronosGroup/glslang#2733.
SPIR-V virtually disallows these by disallowing an OpLoad of OpTypeRuntimearray. I presume that disallowing these in GLSL was an oversight.
Shall we proceed with creating a change to GLSL to disallow these?
The text was updated successfully, but these errors were encountered: