nir/print: Use nir_src_as_int for array indices
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 2 Apr 2019 02:36:12 +0000 (21:36 -0500)
committerKarol Herbst <kherbst@redhat.com>
Sun, 14 Apr 2019 20:25:56 +0000 (22:25 +0200)
commit10602db78cae1b86aca4d9b8b7303537521a713d
tree05174361c0913933a059f9517ae4b76401f7a235
parent9b1e4bab6bb3be7a5dad910b10a28db0a4bb8b5f
nir/print: Use nir_src_as_int for array indices

Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/compiler/nir/nir_print.c