nir/glsl: gather bitmask of images used by program
In a similar fashion as commit f5c7df4d does for textures. Reviewed-by:Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!4080>
- src/compiler/glsl/gl_nir_lower_samplers_as_deref.c 18 additions, 0 deletionssrc/compiler/glsl/gl_nir_lower_samplers_as_deref.c
- src/compiler/shader_info.h 3 additions, 0 deletionssrc/compiler/shader_info.h
- src/mesa/state_tracker/st_glsl_to_nir.cpp 1 addition, 0 deletionssrc/mesa/state_tracker/st_glsl_to_nir.cpp