nir: Print the constant data size associated with a shader.
authorEric Anholt <eric@anholt.net>
Tue, 7 Jul 2020 19:48:09 +0000 (12:48 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 04:35:05 +0000 (04:35 +0000)
commit13b3c401a417c6d1a409c0b85cd97a093696c96a
treefd7dc544624c72eaa8a39de1188da69dc85a9c1b
parent041bae28c674cee32dd24be817598a73c0dba950
nir: Print the constant data size associated with a shader.

We should probably dump the constants, too, but this is useful to me for
now.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6179>
src/compiler/nir/nir_print.c