ac/llvm: cast tes_u/v_replaced to float
authorQiang Yu <yuq825@gmail.com>
Wed, 15 Jun 2022 09:51:25 +0000 (17:51 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 26 Aug 2022 05:50:30 +0000 (05:50 +0000)
commitb5c10a902821a90fed68adb8aff0f070e6ebdb60
treeebfe605b7ce624cea47cc745180b9d1bb7e911a3
parentf75452918b27690f9c7a80f3f049483f7dec14fb
ac/llvm: cast tes_u/v_replaced to float

Otherwise LLVM float ops fail to operate on them.

Acked-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17651>
src/amd/llvm/ac_nir_to_llvm.c