Skip to content

turnip: Skip gmem allocations for attachments with load/store NONE/NONE.

Emma Anholt requested to merge anholt/mesa:tu-none into main

ANGLE uses NONE/NONE sometimes when it figures out that the GL rendering state didn't actually use the attachment (due to masks or glDrawBuffers). If we don't allocate gmem for the unused attachments, we should be able to increase tile sizes.

ANGLE's aztec_ruins and aztec_ruins_high have a pass with R11G11B10F+R16F+Z24X8 that now skips allocating for Z.

ANGLE antutu_refinery has a pass with RGBA8+Z32F that skips allocating for Z.

I didn't detect a perf difference for these traces, at least at small n.

Merge request reports