nir: Make image lowering optionally handle the !bindless case as well.
authorEric Anholt <eric@anholt.net>
Thu, 23 Jan 2020 18:49:02 +0000 (10:49 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Feb 2020 18:25:02 +0000 (18:25 +0000)
commit7342b859afb5a7e7f9fb1813e7ab3a55a1c8a704
tree4f1cd79b8e6b862ca31fe83fdcc3d12328c20ad1
parentcad2d6583c9475bde584e5062a8de73fe7cbf353
nir: Make image lowering optionally handle the !bindless case as well.

iris was doing this internally, but let's rename the function and move the
iris code there.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3728>
src/compiler/glsl/gl_nir.h
src/compiler/glsl/gl_nir_lower_images.c
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/panfrost/bifrost/cmdline.c