intel/nir: use nir_src_is_const and nir_src_as_uint
authorKarol Herbst <kherbst@redhat.com>
Sun, 31 Mar 2019 01:54:21 +0000 (03:54 +0200)
committerKarol Herbst <kherbst@redhat.com>
Sun, 14 Apr 2019 20:25:56 +0000 (22:25 +0200)
commitbbf2ecaf352df43de3dea56f27c1eeae198ab3dc
tree129c7d965cb861f6f97481d6c527012bbfe44ad7
parent6b1c398bcbf1dd1a11db8895e5d642ac3267bdad
intel/nir: use nir_src_is_const and nir_src_as_uint

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_nir.c