freedreno/a6xx: Disable sample averaging on non-ubwc z24s8 MSAA blits.
authorEmma Anholt <emma@anholt.net>
Thu, 18 Nov 2021 00:04:45 +0000 (16:04 -0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 19 Nov 2021 17:24:11 +0000 (17:24 +0000)
commitcad0b6e2e58cc9f74c91461b3e717ac4e86085d5
treee3fd56284f91807aed2f84ee61474ada3e73e7ff
parent93eb697a8da184feb2b1f15a14235087f60f8ec9
freedreno/a6xx: Disable sample averaging on non-ubwc z24s8 MSAA blits.

The fallback path we averages unorm textures, but if we don't have ubwc on
either then we can just cast them to uint which then just takes sample 0.

The proper UBWC format I think ends up averaging, though.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13867>
src/freedreno/ci/freedreno-a630-fails.txt
src/gallium/drivers/freedreno/a6xx/fd6_blitter.c