radv: lower boolean shuffle

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27116>
This commit is contained in:
Georg Lehmann
2024-01-17 14:14:19 +01:00
committed by Marge Bot
parent d641750573
commit 2571580b2b

View File

@@ -616,6 +616,7 @@ radv_shader_spirv_to_nir(struct radv_device *device, const struct radv_shader_st
.lower_ballot_bit_count_to_mbcnt_amd = 1, .lower_ballot_bit_count_to_mbcnt_amd = 1,
.lower_inverse_ballot = !has_inverse_ballot, .lower_inverse_ballot = !has_inverse_ballot,
.lower_boolean_reduce = 1, .lower_boolean_reduce = 1,
.lower_boolean_shuffle = true,
}); });
NIR_PASS(_, nir, nir_lower_load_const_to_scalar); NIR_PASS(_, nir, nir_lower_load_const_to_scalar);