mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-30 22:51: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);
|
|
}
|