blob: 2edf2c2df5821e5c7f50996b13a80a8e3eb31bde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//TEST:SIMPLE:-no-checking -target reflection-json
// 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;
}
|