iris: Disable ASTC 5x5 support on Gen9 for now

Graphics / Mesa 3D Graphics Library / Mesa - Kenneth Graunke [] - 4 January 2020 02:06 UTC

Intel Gen9 hardware has some nasty restrictions where ASTC 5x5 formats and color compression can't both live in the sampler cache at the same time. To properly support it, we have to track which of those exist in the cache and flush ASTC out or resolve away compression.

As far as I'm aware, very little uses ASTC 5x5 textures, so instead of replicating all that for iris, we simply turn it off and rely on the Gallium fallback mechanism to fake it via uncompressed RGBA.

This should avoid GPU hangs any time people use ASTC 5x5 with CCS.

e858321f091 iris: Disable ASTC 5x5 support on Gen9 for now.
src/gallium/drivers/iris/iris_formats.c | 8 ++++++++
1 file changed, 8 insertions(+)


  • Share