freedreno/ir3: Account for driver params in UBO max const upload.
authorEric Anholt <eric@anholt.net>
Fri, 29 May 2020 23:31:43 +0000 (16:31 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 5 Jun 2020 20:36:29 +0000 (13:36 -0700)
commit486b89430795cf12c0fe027fa070b75262337a18
tree4103e38eb3258c0b4509bb80e069c5da5df04de3
parenta25347ab92bbe66c0f0c8def4d5f413f396b228d
freedreno/ir3: Account for driver params in UBO max const upload.

The const state setup needs to be able to push its driver params, so
account for them in the analyze_ubo_ranges.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5273>
src/freedreno/ir3/ir3_nir.c
src/freedreno/ir3/ir3_nir.h
src/freedreno/ir3/ir3_nir_analyze_ubo_ranges.c