nir: Add a little more docs about NIR's constant_data.
authorEric Anholt <eric@anholt.net>
Tue, 7 Jul 2020 19:25:13 +0000 (12:25 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 04:35:05 +0000 (04:35 +0000)
commit041bae28c674cee32dd24be817598a73c0dba950
treec5ffff5a966c35af11b9810dd8c8177cbd576bd8
parent2e833b16bca66662938b139de90a1710cdc00f2b
nir: Add a little more docs about NIR's constant_data.

I think everyone trips over "how does this relate to nir_const", and I was
curious if I could redefine the units of the constant_data_size / indirect
offsets.

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.h