glsl/cs: Fix local_size_y and local_size_z
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 9 Jun 2014 21:14:15 +0000 (14:14 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Mon, 16 Jun 2014 16:54:52 +0000 (09:54 -0700)
commit380dd3be0256f2fb56d4722a0a894c3cba2b728b
treea838edd4746e4e1da125f26a659603e35cfcf75d
parent539cd9247696171ec9b6a8416c3bac2fc5414733
glsl/cs: Fix local_size_y and local_size_z

flags.q.local_size has 3 bits. One each for x, y and z.

Fixes piglit's:
* spec/ARB_compute_shader/linker/mismatched_local_work_sizes
* spec/ARB_compute_shader/compiler/default_local_size.comp
* spec/ARB_compute_shader/compiler/work_group_size_too_large
* spec/ARB_compute_shader/compiler/gl_WorkGroupSize_matches_layout.comp

This was regressed in 738c9c3c.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/glsl/ast_type.cpp