mesa/st: Add perf debug for draw-time variant compiles.
authorEric Anholt <eric@anholt.net>
Wed, 10 Mar 2021 22:27:31 +0000 (14:27 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 12 Mar 2021 21:14:27 +0000 (21:14 +0000)
commit35247ac017ad67cff6010a9f9039452f76f4db8c
treeae3381da2693a54b1fdde0f31c935a91c700e658
parent6864ff35e93eb14f783c142ac7caaccd0e3d749c
mesa/st: Add perf debug for draw-time variant compiles.

This ARB_debug_output is particularly useful in that default apitrace will
log it, so we can find when we're doing draw-time recompiles we shouldn't be.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9509>
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_program.h