gallium/ntt: Add support for PIPE_CAP_LOAD_CONSTBUF.
authorEric Anholt <eric@anholt.net>
Mon, 21 Dec 2020 23:29:19 +0000 (15:29 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 5 Jan 2021 23:05:48 +0000 (15:05 -0800)
commit40a554c8dd06d24cbf56b919ea0a08ffdc7a4e5b
treef06cc0ac4dcf0495e40019d64e1040a7cb9d1c25
parent03c60762f571b8e954dec9614b6efba92ed5d401
gallium/ntt: Add support for PIPE_CAP_LOAD_CONSTBUF.

We needed to do this anyway to finish enabling NTT in general, but more
importantly: when we enabled sending NIR to the draw module, that broke
PIPE_CAP_LOAD_CONSTBUF drivers in the select/feedback paths if LLVM was
disabled.

Fixes: 44b7e1497f91 ("st/mesa: don't generate TGSI for the draw VS because it now supports NIR too")
(along with the rest of this MR)

Closes: #3996
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8196>
src/gallium/auxiliary/nir/nir_to_tgsi.c