mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
etnaviv: don't try RS blit if blit region is unaligned
If the blit region is not aligned to the RS min alignment don't try to execute the blit, but fall back to the software path. Fixes:c9e8b49b("etnaviv: gallium driver for Vivante GPUs") Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Lucas Stach <dev@lynxeye.de> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> (cherry picked from commit2a6183d416)
This commit is contained in:
parent
0889282a7d
commit
e3a2ff07e7
1 changed files with 2 additions and 1 deletions
|
|
@ -448,7 +448,8 @@ etna_try_rs_blit(struct pipe_context *pctx,
|
|||
if (width > src_lev->padded_width ||
|
||||
width > dst_lev->padded_width * msaa_xscale ||
|
||||
height > src_lev->padded_height ||
|
||||
height > dst_lev->padded_height * msaa_yscale)
|
||||
height > dst_lev->padded_height * msaa_yscale ||
|
||||
width & (w_align - 1) || height & (h_align - 1))
|
||||
goto manual;
|
||||
|
||||
if (src->base.nr_samples > 1) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue