Files
wgpu/tests/in/glsl/declarations.vert
T
João Capucho 9c75f3cdce glsl-in: Flatten entry point arguments
The IR doesn't allow having structs has bindings for entry point
input/output, so the glsl frontend must flatten them.

Glsl defines that the locations are sequential from the block base location.
2021-12-16 10:55:06 -05:00

15 lines
187 B
GLSL

#version 450
layout(location = 0) in VertexData {
vec2 position;
vec2 a;
} vert;
layout(location = 0) out FragmentData {
vec2 position;
vec2 a;
} frag;
void main() {
}