etnaviv: don't try RS blit if blit region is unaligned
authorLucas Stach <dev@lynxeye.de>
Sun, 4 Jun 2017 19:06:28 +0000 (21:06 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 16 Jun 2017 13:26:23 +0000 (15:26 +0200)
commit2a6183d416395ca4659e4b6fed9d0918c74cb469
tree34d5435272664d6b2d615058fa37a58988602619
parentd5199cdd7a232705a5f6c0010ff17c68add854f5
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>
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c