freedreno/a4xx: fix srgb render targets
authorRob Clark <robclark@freedesktop.org>
Thu, 13 Aug 2015 17:53:43 +0000 (13:53 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 15 Aug 2015 16:09:06 +0000 (12:09 -0400)
commit868b66fce7a156efda840c00088f89f4ba6163c9
tree2c7bfacef55b8373902b5dc4f4394e312121f9ca
parentdd412c8fcb1c44846419523bb0e3956f38f578b5
freedreno/a4xx: fix srgb render targets

Also fixes mipmap level generation for srgb textures.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a4xx/fd4_emit.h
src/gallium/drivers/freedreno/a4xx/fd4_gmem.c
src/gallium/drivers/freedreno/a4xx/fd4_program.c