clover/nir: Use nir_var_mem_constant for __constant memory
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 19 Aug 2020 16:34:21 +0000 (11:34 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 20:50:04 +0000 (20:50 +0000)
commit26a4c8f375e66e8e2ddf2bbde205baa929578599
tree94f78c31fb660ff7a85ddbcc3d63b96042754f28
parentdfa63f26561c9735fbd1926ae01dd98b2b5d3235
clover/nir: Use nir_var_mem_constant for __constant memory

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6379>
src/gallium/frontends/clover/nir/invocation.cpp