mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-23 11:19:40 +00:00
0c5e1e3dd8
Add support for GL_ARM_shader_core_builtins and SPV_ARM_core_builtins, including initial tests
13 lines
272 B
GLSL
13 lines
272 B
GLSL
#version 450
|
|
#extension GL_ARM_shader_core_builtins: enable
|
|
layout(set = 0, binding = 0, std430) buffer Output
|
|
{
|
|
uvec4 result;
|
|
};
|
|
|
|
void main (void)
|
|
{
|
|
uint temp = gl_WarpMaxIDARM;
|
|
result = uvec4(gl_CoreIDARM, gl_CoreCountARM, gl_CoreMaxIDARM, gl_WarpIDARM + temp);
|
|
}
|