GLSL: Fix Khronos private Bugzilla 15973: local sizes can't be 0.
This commit is contained in:
parent
2eb135506a
commit
14d65beb06
5 changed files with 14 additions and 4 deletions
|
|
@ -4,7 +4,7 @@ layout(local_size_x = 2) in;
|
|||
layout(local_size_x = 16) in; // ERROR, changing
|
||||
layout(local_size_z = 4096) in; // ERROR, too large
|
||||
layout(local_size_x = 2) in;
|
||||
|
||||
layout(local_size_y = 0) in; // ERROR, 0 not allowed
|
||||
const int total = gl_MaxComputeWorkGroupCount.y
|
||||
+ gl_MaxComputeUniformComponents
|
||||
+ gl_MaxComputeTextureImageUnits
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue