ir3: Handle load_ubo_ir3 when promoting to constants
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 15 Apr 2020 13:20:25 +0000 (15:20 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 15 Apr 2020 22:38:20 +0000 (22:38 +0000)
commit3a9e66277af68824fcfa1650d87222f37f0582cf
tree8ed2519e0f867d22759202348083ca28003f50f0
parentabcfb6437062f469335d27d5ef60ecf20272dc26
ir3: Handle load_ubo_ir3 when promoting to constants

This restores support for promoting UBO loads to constant loads when
using LDC.

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