SPIRV-Cross/reference/shaders/flatten/multiindex.flatten.vert
Arseny Kapoulkine 64c17b59e5 Fix whitespace in generated flattened expressions
Add whitespace after comma and around arithmetic operators.
2017-01-17 23:26:19 -08:00

11 lines
130 B
GLSL

#version 310 es
uniform vec4 UBO[15];
in ivec2 aIndex;
void main()
{
gl_Position = UBO[aIndex.x * 5 + aIndex.y * 1 + 0];
}