panfrost: Disable AFBC on sRGB buffers
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 18 Jun 2019 14:41:26 +0000 (07:41 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 18 Jun 2019 16:59:29 +0000 (09:59 -0700)
commit5aa51ba97f91f1acaac4e201740ce0afe7272286
tree913c1d18a5bad7d175b879f9717d00665dc7a2e7
parent6585bb9f523556b04ecf941df22d02a7cc8f5f9c
panfrost: Disable AFBC on sRGB buffers

The performance impact is slightly mitigated by tiling the render
target, but it's undeniably still slow compared to AFBC. Unfortunately,
it doesn't look like AFBC and sRGB play nice...

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_afbc.c