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>
This commit is contained in:
@@ -35,7 +35,7 @@ bool gl_nir_lower_atomics(nir_shader *shader,
|
||||
const struct gl_shader_program *shader_program,
|
||||
bool use_binding_as_idx);
|
||||
|
||||
bool gl_nir_lower_bindless_images(nir_shader *shader);
|
||||
bool gl_nir_lower_images(nir_shader *shader, bool bindless_only);
|
||||
bool gl_nir_lower_samplers(nir_shader *shader,
|
||||
const struct gl_shader_program *shader_program);
|
||||
bool gl_nir_lower_samplers_as_deref(nir_shader *shader,
|
||||
|
Reference in New Issue
Block a user