clover/nir: Stop setting ubo_addr_format
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 19 Aug 2020 16:30:19 +0000 (11:30 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 18:11:42 +0000 (18:11 +0000)
commit884d2021d9a1950ed9a77ee21db0af911a0c5b1b
tree6491e4398e55212056651c6d2b8114e7cd3179e0
parent5ef9c110d5d368269328744c37e89cf3026fc7b2
clover/nir: Stop setting ubo_addr_format

We unconditionally set constant_as_global = true so we should never get
UBO access out of spirv_to_nir.

Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6367>
src/gallium/frontends/clover/nir/invocation.cpp