pan/bi: Don't reorder image loads across stores
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 19 Aug 2022 23:22:14 +0000 (19:22 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sun, 21 Aug 2022 19:37:10 +0000 (19:37 +0000)
commite12a9ce8d691a311cd37eecbdeadb30400adeb95
tree790b4a41aa16b388ea12ba1198eec2e91303ba71
parent15e15422ba2f7b540a03cc6e7506b197f29a032d
pan/bi: Don't reorder image loads across stores

Fixes flaking in
dEQP-GLES31.functional.image_load_store.cube.qualifiers.volatile_r32i due to
image reads being moved past a BARRIER.

To make this more robust/optimal, we probably need scheduling information
(coherent/volatile/etc) added to instructions like ACO does. That's left for a
future extension, for now I just want the test to stop flaking.

Fixes: 569e5dc7450 ("pan/bi: Schedule for pressure pre-RA")
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17841>
src/panfrost/bifrost/bi_pressure_schedule.c