nir/spirv: Fix group decorations
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 2 Jan 2016 19:51:40 +0000 (11:51 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 2 Jan 2016 19:53:36 +0000 (11:53 -0800)
commitf6c4658cde51fb1db3d880c2ffc5921929e5615f
treefc30adc6f37244e297ffd17fc8b97b7e2c3fa1d8
parent6b0b57225cf27aa5316b6c3085fa3254f0f4b1c2
nir/spirv: Fix group decorations

They were completely bogus before.  For one thing, OpDecorationGroup
created a value of type undef rather than decoration_group.  Also
OpGroupMemberDecorate didn't properly apply the decoration to the different
members of the different groups.  It *should* be correct now but there's no
good way to test it yet.
src/glsl/nir/spirv/spirv_to_nir.c