aco: fix nir_f2u64 translation
authorQiang Yu <yuq825@gmail.com>
Wed, 19 Apr 2023 05:03:03 +0000 (13:03 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Apr 2023 06:32:15 +0000 (06:32 +0000)
commit6a39d35df062603a2e20467fa27575ac3c9e7eae
tree478bc87d56b75304e70a7e98d0a44d2991b01008
parent22b07b10c4421a3fa1722b912d8d078c06666207
aco: fix nir_f2u64 translation

mantissa needs to be at the lower part for shift left.
This fixes large integer value conversion.

Cc: mesa-stable
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22570>
src/amd/compiler/aco_instruction_selection.cpp