mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 20:10:06 +00:00
6c8aaacd28
These correspond to SPV_KHR_device_group and SPV_KHR_multiview. Also, bring tests up to date with Khronos internals, and some misc. related changes.
14 lines
209 B
GLSL
14 lines
209 B
GLSL
#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);
|
|
}
|