panfrost/midgard: use nir_src_is_const and nir_src_as_uint
authorKarol Herbst <kherbst@redhat.com>
Fri, 29 Mar 2019 20:40:45 +0000 (21:40 +0100)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 7 Apr 2019 15:56:10 +0000 (15:56 +0000)
commit1aabb79bdcec36b1f7704a1a30e41558b4cde584
tree5333c47a7f59c385ccf34a0907095e96bebe2670
parent10a2fdacfa3f96a57fec304cf54d1c298e4f0943
panfrost/midgard: use nir_src_is_const and nir_src_as_uint

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/midgard/midgard_compile.c