asahi: Add perf debug for shader variants
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 11 Mar 2023 22:48:56 +0000 (17:48 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Apr 2023 03:23:03 +0000 (03:23 +0000)
commit80adaa47e55aa662850893bc1f2732d2a0bdca4b
treeb76844dd1163a97c8c6ac286d955319f2e7e79fb
parent3a4920e92885ec99824c7e514ed1faa487d1ad98
asahi: Add perf debug for shader variants

Compiling this can cause jank. This is still an issue in Quake3. There is a way
to solve it but it's rather involved and certainly not this weekend's project.
Better perf debugging on the other hand apparently is ^_^

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22353>
src/gallium/drivers/asahi/agx_state.c