freedreno/a6xx: fix blitter crash
authorRob Clark <robdclark@gmail.com>
Mon, 10 Dec 2018 15:40:31 +0000 (10:40 -0500)
committerRob Clark <robdclark@gmail.com>
Thu, 13 Dec 2018 20:51:01 +0000 (15:51 -0500)
commit85cd4df47f952414e47fc61a08a03fdf285af766
treee49ce4089a2357b3ede326e465bf0c8f57cd1639
parentcca1e9606c1fa05dafb994d2d1d92a9b2a35c5c2
freedreno/a6xx: fix blitter crash

Fixes a crash with unsupported formats in dEQP-GLES3.functional.texture.format.sized.2d.rgb9_e5_pot

Also fixes gpu hangs with some formats that are supported, but which we
don't know what internal-format to use for the blitter, for ex
dEQP-GLES3.functional.texture.format.sized.2d_array.rgb10_a2_pot

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a6xx/fd6_blitter.c