mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
v3d: Don't try to use the TFU blit path if a scissor is enabled.
We'll need to do a render-based blit for scissors, since the TFU (as seen in this conditional) can only update a whole surface. Fixes:976ea90bdc("v3d: Add support for using the TFU to do some blits.") Fixes piglit fbo-scissor-blit. (cherry picked from commit4c70f276bc)
This commit is contained in:
parent
d1f4c96919
commit
73bc3248f4
1 changed files with 2 additions and 1 deletions
|
|
@ -491,7 +491,8 @@ v3d_tfu_blit(struct pipe_context *pctx, const struct pipe_blit_info *info)
|
|||
if ((info->mask & PIPE_MASK_RGBA) == 0)
|
||||
return false;
|
||||
|
||||
if (info->dst.box.x != 0 ||
|
||||
if (info->scissor_enable ||
|
||||
info->dst.box.x != 0 ||
|
||||
info->dst.box.y != 0 ||
|
||||
info->dst.box.width != dst_width ||
|
||||
info->dst.box.height != dst_height ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue