To brw_nir_lower_gl_images, as it will be also used on the
ARB_gl_spirv codepath, that doesn't involves GLSL at all. So the
lowering is about images following the OpenGL semantics. In any case
"brw_nir_lower_opengl_images" seemed too long to me, so I just used
gl. That shortening is already used on other parts of the code.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
struct gl_program *prog,
struct brw_stage_prog_data *stage_prog_data);
-void brw_nir_lower_glsl_images(nir_shader *shader,
- const struct gl_program *prog);
+void brw_nir_lower_gl_images(nir_shader *shader,
+ const struct gl_program *prog);
void brw_nir_analyze_ubo_ranges(const struct brw_compiler *compiler,
nir_shader *nir,
}
void
-brw_nir_lower_glsl_images(nir_shader *shader,
- const struct gl_program *prog)
+brw_nir_lower_gl_images(nir_shader *shader,
+ const struct gl_program *prog)
{
/* We put image uniforms at the end */
nir_foreach_variable(var, &shader->uniforms) {
}
NIR_PASS_V(nir, brw_nir_lower_uniforms, is_scalar);
- NIR_PASS_V(nir, brw_nir_lower_glsl_images, prog);
+ NIR_PASS_V(nir, brw_nir_lower_gl_images, prog);
return nir;
}