blob: ff29490a56098bf6a94d5afbf07e39f524cda23e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//TEST:REFLECTION:-no-checking -target glsl
// Confirm that we provide reflection data for the `local_size_*` attributes
layout(local_size_x = 3) in;
layout(local_size_y = 5, local_size_z = 7) in;
buffer B
{
float b[];
};
void main()
{
uint tid = gl_GlobalInvocationID.x;
b[tid] = b[tid + 1] + 1.0f;
}
|