From 3b277bae66f23997860637f9f80c41a3f247dc5b Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 20 Mar 2017 16:04:03 +0000 Subject: [PATCH] i965: make brw_setup_image_uniform_values static MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Used only internally. Signed-off-by: Emil Velikov Acked-by: Lionel Landwerlin Acked-by: Vedran Miletić Acked-by: Juha-Pekka Heikkila Reviewed-by: Edward O'Callaghan --- 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.30.2