nir: Remove nir_alu_dest::write_mask
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24432>
This commit is contained in:
committed by
Marge Bot
parent
f5b09fefe3
commit
42ee8a55dd
@@ -2078,8 +2078,6 @@ fs_visitor::get_nir_dest(const nir_dest &dest)
|
||||
nir_component_mask_t
|
||||
fs_visitor::get_nir_write_mask(const nir_alu_dest &dest)
|
||||
{
|
||||
assert(dest.write_mask == nir_component_mask(dest.dest.ssa.num_components));
|
||||
|
||||
nir_intrinsic_instr *store_reg = nir_store_reg_for_def(&dest.dest.ssa);
|
||||
if (!store_reg) {
|
||||
return nir_component_mask(dest.dest.ssa.num_components);
|
||||
|
||||
Reference in New Issue
Block a user