nir: Fix system_value_from_intrinsic for subgroups
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 21 Aug 2017 23:05:20 +0000 (16:05 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 28 Aug 2017 15:57:52 +0000 (08:57 -0700)
commit63e79a8a777b36ecb30a1f6900e6b638cb32fc5f
tree9500ca46ce52a025a9940b999131b31d17fd7aef
parent79d8d6b02219adc97278c2e111ede209dcf7b4f6
nir: Fix system_value_from_intrinsic for subgroups

A couple of the cases were backwards

Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
src/compiler/nir/nir.c