2017-01-16 22:19:49 +00:00
|
|
|
#version 310 es
|
|
|
|
|
|
|
|
uniform vec4 UBO[15];
|
2017-06-21 07:39:08 +00:00
|
|
|
layout(location = 0) in ivec2 aIndex;
|
2017-01-16 22:19:49 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2017-01-17 20:06:06 +00:00
|
|
|
gl_Position = UBO[aIndex.x * 5 + aIndex.y * 1 + 0];
|
2017-01-16 22:19:49 +00:00
|
|
|
}
|
|
|
|
|