nir: Include num_ubos in the printed shader (if nonzero).
authorEric Anholt <eric@anholt.net>
Tue, 12 May 2020 23:25:13 +0000 (16:25 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 14 May 2020 00:10:43 +0000 (00:10 +0000)
commitd2a0cde390001e70e7f9696f4ac7cbca9616cbdf
tree20bdd505940f236bd8c82ccf888d85d0dd8eee70
parent492d664be06ca538d4e5c1e380ab7966714a12a9
nir: Include num_ubos in the printed shader (if nonzero).

I keep wanting this number for debugging shaders.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4858>
src/compiler/nir/nir_print.c