SPIRV-Cross/shaders/flatten/multiindex.flatten.vert

14 lines
170 B
GLSL
Raw Normal View History

2017-01-16 22:19:49 +00:00
#version 310 es
layout(std140) uniform UBO
{
vec4 Data[3][5];
};
layout(location = 0) in ivec2 aIndex;
2017-01-16 22:19:49 +00:00
void main()
{
gl_Position = Data[aIndex.x][aIndex.y];
}