Skip to content

panfrost: fix staging register calculation in bi_emit_blend_op

panfrost: fix staging register calculation in bi_emit_blend_op

bi_emit_blend_op had a hardcoded assumption that 4 components were used
for blending. This caused validation errors in some situations where
fewer components were actually used, because the number of staging
registers did not match the number of registers in the actual input.
Fixed by making sure we always have 4 components, like the hardware
wants.

Signed-off-by: Eric R. Smith <eric.smith@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Edited by Eric Smith

Merge request reports

Loading