mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 20:10:06 +00:00
0464ff4515
Add support for GL_ARM_shader_core_builtins and SPV_ARM_core_builtins, including initial tests
9 lines
234 B
GLSL
9 lines
234 B
GLSL
#version 450
|
|
#extension GL_ARM_shader_core_builtins: enable
|
|
layout(location = 0) out uvec4 data;
|
|
void main (void)
|
|
{
|
|
uint temp = gl_WarpMaxIDARM;
|
|
data = uvec4(gl_CoreIDARM, gl_CoreCountARM, gl_CoreMaxIDARM, gl_WarpIDARM + temp);
|
|
}
|