mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 14:38:06 +02:00
v3d: Avoid fast TLB blit if reused job doesn't store the color buffer
Fixes: 66de8b4b5c ("v3d: add a faster TLB blit path")
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35739>
This commit is contained in:
parent
04d283c628
commit
d0163f1096
1 changed files with 4 additions and 0 deletions
|
|
@ -430,6 +430,10 @@ v3d_tlb_blit_fast(struct pipe_context *pctx, struct pipe_blit_info *info)
|
|||
if (idx < 0)
|
||||
return;
|
||||
|
||||
/* We can't use this blit path if the color buffer is not stored */
|
||||
if (!(job->store & (PIPE_CLEAR_COLOR0 << idx)))
|
||||
return;
|
||||
|
||||
struct pipe_surface dbuf;
|
||||
v3d_set_blit_surface(&dbuf, pctx, info->dst.resource,
|
||||
info->dst.format, info->dst.level,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue