nir/spirv: Set a default number of invocations for geometry shaders
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 30 Mar 2016 03:29:07 +0000 (20:29 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 30 Mar 2016 03:30:27 +0000 (20:30 -0700)
commitcf2257069cbde19fd177a02c079206914aac5d14
tree8edd2e033474faa9c2c27d19d1bd18f369f1f2a0
parentf56f538ce4753a6fdd969b610f35433fd657e4ee
nir/spirv: Set a default number of invocations for geometry shaders

The SPIR-V spec says geometry shaders are supposed to have one invocation
by default.  The execution mode is only required if there are multiple
invocations.
src/compiler/nir/spirv/spirv_to_nir.c