nir: Move system value -> intrinsic mapping into nir.c
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 10 Sep 2015 23:53:08 +0000 (16:53 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 21 Sep 2015 16:49:40 +0000 (09:49 -0700)
commitd513388c8aa1ef4edb937e97a75b953f1abe16f3
treeb1cb699a165a015c5ce150652c9a8f451d387cff
parentde7ffdb38343b7f9292184ca827987de9852c80c
nir: Move system value -> intrinsic mapping into nir.c

This way they're right next to the map going the other direction.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/nir/nir.c
src/glsl/nir/nir.h
src/glsl/nir/nir_lower_system_values.c