SPIRV-Cross/shaders-hlsl/vert/instancing.vert

7 lines
96 B
GLSL
Raw Normal View History

2017-03-07 12:56:03 +00:00
#version 310 es
void main()
{
gl_Position = vec4(float(gl_VertexIndex + gl_InstanceIndex));
}