Skip to content

anv: Enable more storage compression on gfx12+

Nanley Chery requested to merge nchery/mesa:perf/more-storage-ccs into main

What does this MR do and why?

Enable storage compression in more cases:

  • On gfx12-20, allow storage compression for modifiers. This helps prevent some games from falling back to uncompressed modifiers. Halo: MCC is helped and likely other games mentioned in !22988 (merged). @cgbowman, @jxzgithub, perhaps this fix will also prevent the Xe2 modifiers from being downgraded in our testing?

  • On gfx20, use the CCS_E aux-usage for storage compression. This causes ISL to create surface states with more appropriate render compression formats.

  • On gfx12.5, only disable storage compression for the formats we expose atomic support for (R32 formats). /cc @llandwerlin

  • On gfx12.0, allow storage compression unless the image may be used with atomics.

Closes: #5657 (closed)

Merge request reports

Loading