diff options
author | Connor Abbott <cwabbott0@gmail.com> | 2022-09-26 18:31:48 +0200 |
---|---|---|
committer | Dylan Baker <dylan.c.baker@intel.com> | 2022-10-04 14:54:29 -0700 |
commit | f79525dda6fa288514f0a2ac63fbd4b8b87c7067 (patch) | |
tree | d2a1fa57c83f0221b62696c309b71bda50fd7314 /.gitlab-ci/container/debian/x86_test-base.sh | |
parent | bdc71b81c84502735f57f796c4a7d054e2e49fe6 (diff) |
ir3/analyze_ubo_ranges: Account for reserved consts better
It turns out that the ir3_setup_const_state() already includes reserved
consts, so we were accidentally counting it twice. This makes us use
less consts, and if there are enough reserved consts can make it go
negative and wrap around. Fix this while also making sure the previous
bug remains fixed.
Fixes: 8cb1deded60 ("ir3/analyze_ubo_ranges: Account for reserved consts")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18840>
(cherry picked from commit dcab399a173f2ab99f408e2db1bafc114c29cfd9)
Diffstat (limited to '.gitlab-ci/container/debian/x86_test-base.sh')
0 files changed, 0 insertions, 0 deletions