glsl/nir: correctly process bindless handles passed as function params
The bindless spec has no language requiring functions params to be defined as bindless so we need to be able to look at the values being passed to functions to decide if they are bindless or not. Here we add an intrinsic that allows us to wait until function inlining is complete to make this assessment.
Closes: #11535 (closed)
Piglit test: piglit!932 (merged)
Edited by Timothy Arceri