ir3: Move turnip's nir_lower_frexp to the shared compiler.
authorEmma Anholt <emma@anholt.net>
Thu, 23 Mar 2023 16:47:47 +0000 (09:47 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 6 Apr 2023 02:32:01 +0000 (02:32 +0000)
commitf2228902ed8d1d5d352798d3561323e8684aa93b
tree1ce5d6fd1bd5f56c28fcee5ae0b69f9b0809ef10
parentf1ea6c1b40a798324326105579c0b394936cd536
ir3: Move turnip's nir_lower_frexp to the shared compiler.

We had NIR lowering for Vulkan, and rely on GLSL's lowering in the
frontend, but this will let us drop the GLSL lowering.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22083>
src/freedreno/ir3/ir3_nir.c
src/freedreno/vulkan/tu_shader.cc