ac/llvm: Fix validation error with global io
authorKonstantin Seurer <konstantin.seurer@gmail.com>
Wed, 4 Jan 2023 15:49:08 +0000 (16:49 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 8 Feb 2023 20:34:44 +0000 (20:34 +0000)
commite29a84fc1695497d4f51f589cd73245b67b94310
tree5a5ca4803bf7b759eebfcd2ce1bf07bcb98c339a
parent18f0d33423b6635d0157a2eca46155ff0c2fe4b1
ac/llvm: Fix validation error with global io

Fixes: afd645f0576 ("ac/llvm: remove LLVMBuildGEP usages")
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20521>
(cherry picked from commit 10ac51a52bad2c2378b2d847eae23e1366ddc46f)
.pick_status.json
src/amd/llvm/ac_nir_to_llvm.c