freedreno/a6xx: Copy stencil as R8_UINT
authorKristian H. Kristensen <hoegsberg@chromium.org>
Fri, 15 Feb 2019 07:34:09 +0000 (23:34 -0800)
committerKristian H. Kristensen <hoegsberg@chromium.org>
Wed, 20 Feb 2019 16:56:21 +0000 (08:56 -0800)
commit686211f4c9659fb964c8467ac21f3445c79a9c36
treef6d68c8bcfc055edcbbd1fcf8b339739e52a31b5
parente827ea8c83711ce5f2eefae86ddf23039eef945b
freedreno/a6xx: Copy stencil as R8_UINT

Blitter does support it after all. Previous attempt to use R8_UINT
failed because we overwrote the a6xx format in emit_blit_texture(),
but some of the later setup still looked at the gallium format.

If we overwrite it in the pipe_blit_info before we even call into
emit_blit_texture() it works properly.

Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
src/gallium/drivers/freedreno/a6xx/fd6_blitter.c