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

12 lines
145 B
GLSL

#version 460
out gl_PerVertex
{
vec4 gl_Position;
};
void main()
{
gl_Position = vec4(gl_BaseVertex, gl_BaseInstance, gl_DrawID, 1);
}