iris: Add fast-clear restriction for 8bpp surfaces

Graphics / Mesa 3D Graphics Library / Mesa - Nanley Chery [intel.com] - 14 October 2020 18:44 UTC

For 8bpp surfaces on TGL, prevent LOD1+ from being fast-cleared. This will be relevant once ISL starts allowing CCS for 8bpp surfaces with more than 2 miplevels. I verified the problem behind this restriction with a modified version of the fbo-clearmipmap piglit test.

f94ba6b6f56 iris: Add fast-clear restriction for 8bpp surfaces
src/gallium/drivers/iris/iris_clear.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

Upstream: cgit.freedesktop.org


  • Share