nir: Allow more deref modes in phis
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 8 Oct 2020 04:05:25 +0000 (23:05 -0500)
committerMarge Bot <eric+marge@anholt.net>
Sun, 11 Oct 2020 21:50:23 +0000 (21:50 +0000)
commit181d5f59b8d967a16e432b7733252c7be33bb8a9
tree89784baa61e55acd2d8cbf98fec99160dde7d481
parent002a23efb423132889385f7346ed5963ac3fe775
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>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7092>
.gitlab-ci/piglit/cl.txt
src/compiler/nir/nir_validate.c