GLSL: Fix Khronos private Bugzilla 15973: local sizes can't be 0.

This commit is contained in:
John Kessenich
2017-06-07 18:53:33 -06:00
parent 2eb135506a
commit 14d65beb06
5 changed files with 14 additions and 4 deletions

View File

@@ -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