radv/aco: implement logic64 instead of lowering

to make use of the scalar ALU

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5527>
This commit is contained in:
Daniel Schürmann
2020-06-17 16:24:53 +01:00
committed by Marge Bot
parent 9a389322c4
commit f03a5f6cac
3 changed files with 37 additions and 2 deletions
@@ -1020,7 +1020,6 @@ setup_nir(isel_context *ctx, nir_shader *nir)
nir_lower_pack(nir);
/* lower ALU operations */
// TODO: implement logic64 in aco, it's more effective for sgprs
nir_lower_int64(nir, nir->options->lower_int64_options);
if (nir_lower_bit_size(nir, lower_bit_size_callback, NULL))