radeonsi: don't change pipe_resource in resource_copy_region
authorMarek Olšák <marek.olsak@amd.com>
Thu, 16 Jul 2015 11:17:14 +0000 (13:17 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jul 2015 22:59:24 +0000 (00:59 +0200)
commit46b2b3bda8d962fce02838e09c742ac06fbec45f
treee3812c5fc400d73331c9694fc5c0a6277bb4a828
parent50a957c5de842b18e10c361f7b0310aa46bb483f
radeonsi: don't change pipe_resource in resource_copy_region

Copied from r600g. pipe_resource can be shared by multiple threads, so we
shouldn't change it.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeonsi/si_blit.c
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h