gallium: Add a cap for enabling lowering of image load/store intrinsics.
authorEric Anholt <eric@anholt.net>
Thu, 23 Jan 2020 18:52:39 +0000 (10:52 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 18:25:02 +0000 (18:25 +0000)
commit9c90ecf37ffab0978a983e49ecec48faebeb181a
treeb2189e89ff2cd4a003b73638132289d4c0f23d63
parent7342b859afb5a7e7f9fb1813e7ab3a55a1c8a704
gallium: Add a cap for enabling lowering of image load/store intrinsics.

The deref stuff is hard to handle in a backend supporting dynamic
indexing, while the lowering can easily turn that into the same kind of
dynamic indexing we do for textures, UBOs, and SSBOs.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3728>
src/gallium/auxiliary/util/u_screen.c
src/gallium/docs/source/screen.rst
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_glsl_to_nir.cpp