glsl/nir_linker: nir_var_mem_image is also a GL uniform

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4743>
This commit is contained in:
Jason Ekstrand
2021-09-15 14:29:15 -05:00
committed by Marge Bot
parent 94b9f25883
commit c0d8dc13e0
2 changed files with 4 additions and 2 deletions

View File

@@ -38,7 +38,8 @@ struct gl_nir_linker_options {
#define nir_foreach_gl_uniform_variable(var, shader) \
nir_foreach_variable_with_modes(var, shader, nir_var_uniform | \
nir_var_mem_ubo | \
nir_var_mem_ssbo)
nir_var_mem_ssbo | \
nir_var_mem_image)
bool gl_nir_link_spirv(struct gl_context *ctx,
struct gl_shader_program *prog,