freedreno: Fix attempts to push UBO contents past the constlen on pre-a6xx.
authorEric Anholt <eric@anholt.net>
Wed, 13 May 2020 17:34:25 +0000 (10:34 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 14 May 2020 01:30:31 +0000 (01:30 +0000)
commit3111cee2f627d7e681e1695e1e4b1b5b126d5c7d
treef7f96c501f3923747813b1fe3f43a24fe5b119ba
parent7336caa52d90dac3e7cc82259e223e933ca95ce0
freedreno: Fix attempts to push UBO contents past the constlen on pre-a6xx.

The binning variant likely won't have any UBO load code in it, so we were
writing past constlen (and sometimes asserting about it) when loading more
than one ubo block.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5027>
.gitlab-ci/deqp-freedreno-a307-fails.txt
.gitlab-ci/deqp-freedreno-a530-fails.txt
src/gallium/drivers/freedreno/ir3/ir3_const.h