OSDN Git Service

gallium/radeon: fix partial layered transfers of cube (array) textures
authorMarek Olšák <marek.olsak@amd.com>
Sun, 8 May 2016 22:39:32 +0000 (00:39 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 10 May 2016 15:20:09 +0000 (17:20 +0200)
commit871d2aff240662b2ef67b674018ea2a174f62f8e
treecadea02bedd3dcdb78c70ad5aa9ba5b703a1b9e6
parentc2377b394b7820419b18dd92f29ac367ad6e39da
gallium/radeon: fix partial layered transfers of cube (array) textures

a staging cube texture with array_size % 6 != 0 doesn't work very well

just use 2D_ARRAY or 2D for all staging textures

Cc: 11.1 11.2 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_texture.c