[Mesa-dev] [PATCH 01/18] i965: make brw_setup_image_uniform_values static

Emil Velikov emil.l.velikov at gmail.com
Mon Mar 20 16:12:51 UTC 2017


Used only internally.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/intel/compiler/brw_shader.h                | 5 -----
 src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp | 2 +-
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/intel/compiler/brw_shader.h b/src/intel/compiler/brw_shader.h
index 5a253e66570..89e2776776e 100644
--- a/src/intel/compiler/brw_shader.h
+++ b/src/intel/compiler/brw_shader.h
@@ -235,11 +235,6 @@ bool brw_texture_offset(int *offsets,
                         unsigned num_components,
                         uint32_t *offset_bits);
 
-void brw_setup_image_uniform_values(gl_shader_stage stage,
-                                    struct brw_stage_prog_data *stage_prog_data,
-                                    unsigned param_start_index,
-                                    const gl_uniform_storage *storage);
-
 #else
 struct backend_shader;
 #endif /* __cplusplus */
diff --git a/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp b/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
index 50bc1d07f89..f35e8f88dd2 100644
--- a/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
+++ b/src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
@@ -79,7 +79,7 @@ setup_vec4_uniform_value(const gl_constant_value **params,
       params[i] = &zero;
 }
 
-void
+static void
 brw_setup_image_uniform_values(gl_shader_stage stage,
                                struct brw_stage_prog_data *stage_prog_data,
                                unsigned param_start_index,
-- 
2.11.1



More information about the mesa-dev mailing list