lower_uniforms_to_ubo cleanup
The end-goal is to unify nir_lower_uniforms_to_ubo
and zink's lower_uniforms_to_ubo
. There's two reasons for this:
- It makes maintenance easier (as seen in !4711 (merged))
- We're going to need this for the upcoming D3D12 driver as well.