nir: Allow more deref modes in phis
In particular, OpenCL needs to allow shader_temp and function_temp through because they're 100% real pointers.
Fixes piglit CL calls.cl Reviewed-by: Dave Airlie airlied@redhat.com
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
In particular, OpenCL needs to allow shader_temp and function_temp through because they're 100% real pointers.
Fixes piglit CL calls.cl Reviewed-by: Dave Airlie airlied@redhat.com