nir/gallium: Add compiler option for lowering uniforms to UBO (rewrite)
This option can be set by drivers that don't support CAP_PACKED_UNIFORMS but still want the lowering to be done in the state tracker and tgsi_to_nir.
Consequently, with this MR all decisions related to lowering uniforms to UBO use this flag, and, like suggested by @anholt, whether using a multiplier of 4 or 16 is based on the support for packed uniforms.
CC: freedreno: @robclark llvmpipe: @airlied intel/compiler: @jekstrand radeonsi: @mareko
Edited by Gert Wollny