SPIRV-Cross/shaders/desktop-only/vert/shader-draw-parameters-450.desktop.vert
2018-08-29 13:32:01 -05:00

13 lines
204 B
GLSL

#version 450
#extension GL_ARB_shader_draw_parameters : enable
out gl_PerVertex
{
vec4 gl_Position;
};
void main()
{
gl_Position = vec4(gl_BaseVertexARB, gl_BaseInstanceARB, gl_DrawIDARB, 1);
}