gallium/u_blitter: use 2D_ARRAY for cubemap blits if possible
authorMarek Olšák <marek.olsak@amd.com>
Tue, 30 May 2017 21:52:07 +0000 (23:52 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 7 Jun 2017 16:10:50 +0000 (18:10 +0200)
commita893c916973384ad64f20159cca04c0e71652f36
treea633036f381624f6ca67702d68572bb97cb38e0f
parent4a88c7774cfae0da9f0819771efdbfb881f8af6c
gallium/u_blitter: use 2D_ARRAY for cubemap blits if possible

so that we can use TXF.

The cubemap blit pixel shader code size: 148 -> 92 bytes

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_blitter.h
src/gallium/drivers/r300/r300_blit.c
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/radeonsi/si_blit.c