r600g,radeonsi: set resource domains in one place (v2)
authorMarek Olšák <marek.olsak@amd.com>
Tue, 4 Feb 2014 17:35:40 +0000 (18:35 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 6 Feb 2014 16:29:59 +0000 (17:29 +0100)
commit2be5bbdd97e1f830d265042d3f1cdce1a201ea33
tree2838f30f0fadcdadd64ae0d0044437934266e294
parentc6dbcf10dff1f8343a26081f5489ef732ebb5460
r600g,radeonsi: set resource domains in one place (v2)

v2: This doesn't change the behavior. It only moves the tiling check
    to r600_init_resource and removes the usage parameter.

Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/radeon/r600_buffer_common.c
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeon/r600_texture.c
src/gallium/drivers/radeonsi/si_descriptors.c