1#version 450 2 3#extension GL_ARB_shader_draw_parameters : enable 4 5out vec3 pos; 6 7void main() 8{ 9 int a = gl_BaseVertexARB; 10 int b = gl_BaseInstanceARB; 11 int c = gl_DrawIDARB; 12 pos = vec3(a, b, c); 13} 14