freedreno/a3xx: add sRBG texture support
authorRob Clark <robclark@freedesktop.org>
Sat, 17 May 2014 00:29:44 +0000 (20:29 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 17 May 2014 00:48:40 +0000 (20:48 -0400)
commit5646319f25c7880b3706bb7590e24c84fd8de0fc
treefc3e93035712212456c5277890a53d234cbcda4d
parent9227e6c98c956ac75b834b76be5917858a25dfd2
freedreno/a3xx: add sRBG texture support

That was easy.  Turns out it is just a matter of setting one bit.
Enable sampling from sRGB texture, and therefore enable GL 2.1 :-)

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