freedreno/ir3: don't allow negative const_offset
authorRob Clark <robdclark@chromium.org>
Thu, 7 May 2020 18:09:17 +0000 (11:09 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 12 May 2020 23:51:46 +0000 (23:51 +0000)
commitc4dc877cb5df63a6a86013e32695f72c604625ad
tree24886ea46738c7b6dd396d8f99654730590b35b0
parent8d8ba7fb44f8130f7ded5459dbac5484cc9202a9
freedreno/ir3: don't allow negative const_offset

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