bgfx/3rdparty/glslang/Test/spv.drawParams.vert

14 lines
209 B
GLSL
Raw Normal View History

2017-03-04 07:12:06 +03:00
#version 450
#extension GL_ARB_shader_draw_parameters : enable
out vec3 pos;
void main()
{
int a = gl_BaseVertexARB;
int b = gl_BaseInstanceARB;
int c = gl_DrawIDARB;
pos = vec3(a, b, c);
}