svga: Fix incorrect format conversion blit destination
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 14 Jun 2017 13:39:42 +0000 (15:39 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Fri, 16 Jun 2017 06:40:26 +0000 (08:40 +0200)
commita37eede540a69392f817162b0c37a992d59a0b17
tree07f6393faa8301723aaf0acaa8aeb747a382334e
parent5732ac3eccdc750593d2c0d3a5348d709106cdbf
svga: Fix incorrect format conversion blit destination

The blit.dst.resource member that was used as destination was
modified earlier in the function, effectively making us try to blit
the content onto itself. Fix this and also add a debug printout when the
format conversion blits fail.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_pipe_blit.c