nir/spirv: Handle the WorkgroupSize builtin decoration
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 1 Jun 2016 18:20:22 +0000 (11:20 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 4 Jun 2016 02:29:28 +0000 (19:29 -0700)
commit1f7b54ed299bea95f774e7d8baa181c11118b3fe
tree05f28bf46f5dd9ce0ff4fde066cb0c4b23ba83f8
parentb26cdd65e8e588ed7bdd7cca0b205579132e1261
nir/spirv: Handle the WorkgroupSize builtin decoration

This fixes the 7 dEQP-VK.pipeline.spec_constant.compute.local_size.* tests
in the latest dev version of the Vulkan CTS.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/compiler/spirv/spirv_to_nir.c