v3d: prefer using nir_src_comp_as_int over nir_src_as_const_value
authorKarol Herbst <kherbst@redhat.com>
Thu, 28 Mar 2019 16:53:30 +0000 (17:53 +0100)
committerKarol Herbst <kherbst@redhat.com>
Sun, 7 Apr 2019 13:13:36 +0000 (15:13 +0200)
commit5450f1c9fb098ad85affb4fba9364052482e7016
tree5113d35f457c62a2cdc6bd54e637bb80abaf7725
parent4e802089bcfa278f414fb3a0ce5879d840526691
v3d: prefer using nir_src_comp_as_int over nir_src_as_const_value

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/broadcom/compiler/v3d33_tex.c
src/broadcom/compiler/v3d40_tex.c