SPIRV-Cross/shaders/flatten/multiindex.flatten.vert
2017-01-17 23:26:18 -08:00

14 lines
149 B
GLSL

#version 310 es
layout(std140) uniform UBO
{
vec4 Data[3][5];
};
in ivec2 aIndex;
void main()
{
gl_Position = Data[aIndex.x][aIndex.y];
}