nir: Add some new helpers for working with const sources
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 20 Oct 2018 13:36:21 +0000 (08:36 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 22 Oct 2018 19:24:15 +0000 (14:24 -0500)
commitbca5c2c68830da8631a301b6c449810c1a8a4c3f
treea1432a4a2bf76cb582e1900c9ddb5569fbc3750b
parente0c267c7521acfa7923bf13b2ac769eac6e13230
nir: Add some new helpers for working with const sources

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/compiler/nir/nir.c
src/compiler/nir/nir.h