amd: Enable boolean subgroup lowering
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/218>
This commit is contained in:
@@ -657,6 +657,7 @@ radv_shader_spirv_to_nir(struct radv_device *device, const struct radv_shader_st
|
||||
.lower_shuffle_to_swizzle_amd = 1,
|
||||
.lower_ballot_bit_count_to_mbcnt_amd = 1,
|
||||
.lower_inverse_ballot = !has_inverse_ballot,
|
||||
.lower_boolean_reduce = 1,
|
||||
});
|
||||
|
||||
NIR_PASS(_, nir, nir_lower_load_const_to_scalar);
|
||||
|
||||
@@ -256,6 +256,7 @@ const nir_lower_subgroups_options si_nir_subgroups_options = {
|
||||
.lower_vote_eq = true,
|
||||
.lower_vote_bool_eq = true,
|
||||
.lower_inverse_ballot = true,
|
||||
.lower_boolean_reduce = true,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user