freedreno: set SWAP bit based on format
authorRob Clark <Rob Clark robdclark@freedesktop.org>
Mon, 22 Apr 2013 17:21:21 +0000 (13:21 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 25 Apr 2013 01:09:46 +0000 (21:09 -0400)
commita64e2d9d9fc111c709d91bbad174b5a29b882245
treebb84395f899c1725bf2af83ecf0d1cb4a5b6d5c2
parentd9a32b84e38fda935032338a0a4ae9438d48108d
freedreno: set SWAP bit based on format

Really this should be set based on buffer format, not on color vs
depth/stencil.  Probably there should be more formats that set the bit
as we add support for more render target formats.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_gmem.c