diff options
author | Alejandro Piñeiro <[email protected]> | 2018-09-05 12:34:47 +0200 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2018-09-05 17:02:28 +0200 |
commit | 2a6182fe06731b09d89cdd819e887606d683ed2f (patch) | |
tree | 238dd300f3d425b09fcf96c5323fefa480498488 /src/intel | |
parent | 960f6459be7fb8e55efb63af1672fc4171251e5f (diff) |
intel/compiler: rename brw_nir_lower_glsl_images
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 <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/compiler/brw_nir.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_nir.h b/src/intel/compiler/brw_nir.h index 50073265539..06f0e8690e4 100644 --- a/src/intel/compiler/brw_nir.h +++ b/src/intel/compiler/brw_nir.h @@ -149,8 +149,8 @@ void brw_nir_setup_arb_uniforms(void *mem_ctx, nir_shader *shader, 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, |