freedreno/ir3: Make sure we run the opt loop after lowering UBOs to vec4.
authorEric Anholt <eric@anholt.net>
Mon, 14 Sep 2020 20:13:47 +0000 (13:13 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 30 Sep 2020 19:53:43 +0000 (19:53 +0000)
commitbd60e31c837b9c8ed48f6b4db0b93b14ab46135e
tree0e7f35c5d70bd2573a4a15cea5eeea2806824ea1
parent8dc8922af257e454f4460bbc5993df5647968146
freedreno/ir3: Make sure we run the opt loop after lowering UBOs to vec4.

The lowering pass may introduce vector bcsels that we need to scalarize
back out.  It's unusual to have UBOs and not get any lowered to push
constants, so the flag was usually set anyway.

Fixes: 2b2524099379 ("freedreno/ir3: Replace our custom vec4 UBO intrinsic
with the shared lowering.")

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