freedreno/ir3: move num_reserved_user_consts out of const_state
authorRob Clark <robdclark@chromium.org>
Tue, 16 Jun 2020 21:09:34 +0000 (14:09 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Jun 2020 13:16:57 +0000 (13:16 +0000)
commitab74b792d4b058f428ece7caa9a9020239606b58
tree20a111e7fb38dbf797eed2078b9b6baa5617e0a1
parent74140c2e859c15593a379cbde96b1048f2ad69dc
freedreno/ir3: move num_reserved_user_consts out of const_state

When we move const_state to the variant, this will need to stay in the
shader, as it applies to all variants (and we need to store it somewhere
before we have any variants)

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5508>
src/freedreno/ir3/ir3_nir_analyze_ubo_ranges.c
src/freedreno/ir3/ir3_shader.c
src/freedreno/ir3/ir3_shader.h