nir/idiv_const: Use the modern nir_src_as_* constant helpers
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 8 Sep 2020 23:37:05 +0000 (18:37 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 9 Sep 2020 20:19:42 +0000 (20:19 +0000)
commitc5dd54e600bef006cdebcb9d045a737d3d9785e7
tree337bdeba55e085c3fa49e9595c7265bca23281bd
parentd86e38af2c6c9e7f70b31fb6482a875c6d10427c
nir/idiv_const: Use the modern nir_src_as_* constant helpers

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6655>
src/compiler/nir/nir_opt_idiv_const.c