svga: allow quad blit for more formats
authorCharmaine Lee <charmainel@vmware.com>
Fri, 28 Oct 2016 18:48:34 +0000 (11:48 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Nov 2016 20:29:22 +0000 (14:29 -0600)
commitf2eec4e8292eb438ff45c14346a03f50155081a5
treeeeacdbad6f60885ab046d6bb4ff9222b10748e89
parent4bd5ce853bd1a78889aa7b73dd8c748ba1e47f5c
svga: allow quad blit for more formats

Currently blitter will fail if the blit format is different and
view-incompatible to the resource format. Instead of punting
to software blit which will stall the pipeline, we will
create temporary resource to allow blitter to work.

Fixes piglit test arb_copy_image-formats.
Also tested with MTT piglit, glretrace.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_pipe_blit.c