agx: Implement image barriers
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 29 May 2023 23:30:16 +0000 (19:30 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Jul 2023 15:33:28 +0000 (15:33 +0000)
commit76641762cee4d6997a5bed1b5bf6d1f6f0e10b22
tree686ec7349a9712efe6f74c3cbf5619b4ef45c763
parentad456a683c76a63f764be86d8fd8a0e81d2c92c6
agx: Implement image barriers

Or cache flushes or whatever these actually are. Probably could be optimized
once we understand what the 4 individual instructions are actually doing. Fixes
dEQP-GLES31.functional.image_load_store.2d.qualifiers.*.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24258>
src/asahi/compiler/agx_compile.c
src/asahi/compiler/agx_opcodes.py