asahi: Vectorize background colour load

No point to scalarizing this, the background can handle the vector load fine
since bfa7ec0aa0 ("agx: Don't scalarize preambles in NIR").

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21327>
This commit is contained in:
Alyssa Rosenzweig 2023-02-14 22:36:44 -05:00 committed by Marge Bot
parent affa8a9fb2
commit 888492ecd3

View file

@ -61,14 +61,7 @@ build_background_op(nir_builder *b, enum agx_meta_op op, unsigned rt,
} else {
assert(op == AGX_META_OP_CLEAR);
nir_ssa_def *comp[] = {
nir_load_preamble(b, 1, 32, (rt * 8) + 0),
nir_load_preamble(b, 1, 32, (rt * 8) + 2),
nir_load_preamble(b, 1, 32, (rt * 8) + 4),
nir_load_preamble(b, 1, 32, (rt * 8) + 6),
};
return nir_vec(b, comp, nr);
return nir_load_preamble(b, nr, 32, rt * 8);
}
}