SPIRV-Cross/shaders/desktop-only/vert/shader-draw-parameters-450.desktop.vert

13 lines
204 B
GLSL
Raw Normal View History

2018-08-29 18:32:01 +00:00
#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);
}