svga: Use texture_copy_region instead of texture_copy_handle for multisampling
authorNeha Bhende <bhenden@vmware.com>
Wed, 13 Dec 2017 23:02:13 +0000 (15:02 -0800)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commitc6103328ab9a985b637b940d6d6a49de961b7c9f
tree752b51577dd8b29153d368f30c4ac732980a27c9
parentfdf58851833c6521fba7038425dcea8f063ced38
svga: Use texture_copy_region instead of texture_copy_handle for multisampling

This fixes some of tests cases in arb_copy_image-formats and also fixes
SurfaceCopy related errors in vmware.log when multi sampled surfaces are
used.

Tested with piglit, glretrace on windows and linux VM.

v2: As per Brian's comment

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_surface.c