You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
252 B
14 lines
252 B
4 months ago
|
#version 450
|
||
|
|
||
|
layout(local_size_x_id = 18, local_size_z_id = 19) in;
|
||
|
layout(local_size_x = 32, local_size_y = 32) in;
|
||
|
|
||
|
buffer bn {
|
||
|
uint a;
|
||
|
} bi;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
bi.a = gl_WorkGroupSize.x * gl_WorkGroupSize.y * gl_WorkGroupSize.z;
|
||
|
}
|