This repository has been archived by the owner on Jan 29, 2025. It is now read-only.
[glsl-in] Arrays as attributes do not seem to be supported #1233
Labels
area: front-end
Input formats for conversion
help wanted
Extra attention is needed
kind: feature
New feature or request
lang: GLSL
OpenGL Shading Language
In GLSL, it is possible to specify structs and arrays as attributes (see https://www.khronos.org/opengl/wiki/Layout_Qualifier_(GLSL)), in which case they may consume multiple attribute locations for each element in the array or field in the struct. However, naga 0.6 does not seem to support them (arrays in vertex shaders, at least):
Examples are:
The text was updated successfully, but these errors were encountered: