John Kessenich | 6c8aaac | 2017-02-27 01:20:51 -0700 | [diff] [blame] | 1 | #version 450 |
2 | |||||
3 | #extension GL_ARB_shader_draw_parameters : enable | ||||
4 | |||||
5 | out vec3 pos; | ||||
6 | |||||
7 | void main() | ||||
8 | { | ||||
9 | int a = gl_BaseVertexARB; | ||||
10 | int b = gl_BaseInstanceARB; | ||||
11 | int c = gl_DrawIDARB; | ||||
12 | pos = vec3(a, b, c); | ||||
13 | } |