radeon/uvd: use PIPE_BIND_LINEAR for video surfaces
authorGrigori Goronzy <greg@chown.ath.cx>
Sun, 13 Oct 2013 16:08:43 +0000 (18:08 +0200)
committerChristian König <christian.koenig@amd.com>
Sun, 13 Oct 2013 18:09:02 +0000 (20:09 +0200)
commit270fab5164d04bd8ce5f322c1a4d6ca39734d39a
treed2ffe7057bc854db0b62bf329235b53c4be802da
parent6e51c2a941955fd2a34d62437fc149e633e79ec7
radeon/uvd: use PIPE_BIND_LINEAR for video surfaces

This new bind flag forces linear storage, but does not have other
side effects like R600_RESOURCE_FLAG_TRANSFER.

Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/r600/r600_uvd.c
src/gallium/drivers/radeonsi/radeonsi_uvd.c