pan/bi: Print shaders only if BIFROST_MESA_DEBUG=shaders
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 30 Apr 2020 07:29:10 +0000 (09:29 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 1 May 2020 14:52:16 +0000 (16:52 +0200)
commit07b31f3437ef60779f0fea83425521da3b7441f9
tree5473870996d3ed83e10c6f0cd9fb4408505e4fab
parent9c7d30fb4a0ca1625d16dffb3ff2359331783fe6
pan/bi: Print shaders only if BIFROST_MESA_DEBUG=shaders

Similar to how it's done in the Midgard compiler.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4832>
src/panfrost/bifrost/bifrost.h
src/panfrost/bifrost/bifrost_compile.c