microsoft/compiler: Use nir_type_convert instead of nir_type_conversion_op
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Nov 2022 01:13:12 +0000 (18:13 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 14 Dec 2022 06:23:21 +0000 (06:23 +0000)
commite34b8866b417d34d81c477bad07cafff7cd5189c
tree1205b598f44c0aaeb6cec59b9ea95b6780d99330
parent58164794f4fdaec6839296cb49c79b46acdd60a3
microsoft/compiler: Use nir_type_convert instead of nir_type_conversion_op

In a future commit, nit_type_conversion_op won't be able to handle i2b
(and in a much later commit f2b), so switch many users to the fully
featured function.

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