amd/llvm: Fix divergent descriptor regressions with radeonsi.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 13 Mar 2020 19:48:27 +0000 (20:48 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 17 Mar 2020 21:53:16 +0000 (22:53 +0100)
commit8e4e2cedcf53d0f9649d51fc3acccaada96172bb
tree5accc9967ed59652acf74afd2fd5adab918374a7
parent040ce9a1b3b596d34e224cf3be42747bdadc7163
amd/llvm: Fix divergent descriptor regressions with radeonsi.

piglit/bin/arb_bindless_texture-limit -auto -fbo:
  Needed to deal with non-NULL dynamic_index without deref in tex instructions.

piglit/bin/shader_runner tests/spec/arb_bindless_texture/execution/images/multiple-resident-images-reading.shader_test -auto:
  Need to deal with non-deref images in enter_waterfall_imae.

Fixes: b83c9aca4a5 "amd/llvm: Fix divergent descriptor indexing. (v3)"
Acked-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4191>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4191>
src/amd/llvm/ac_nir_to_llvm.c