intel/vec4: Try more immediates as sources
When I first wrote try_immediate_source
in commit d2056ab9, I did not really understand how nir_src
, nir_alu_src
, and nir_load_const_instr
all interacted. That initial implementation missed some opportunities. I authored the series in reverse order after looking at MR !1151 (merged).