From: Emil Velikov Date: Mon, 20 Mar 2017 16:04:03 +0000 (+0000) Subject: i965: make brw_setup_image_uniform_values static X-Git-Tag: upstream/17.1.0~1140 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b277bae66f23997860637f9f80c41a3f247dc5b;p=platform%2Fupstream%2Fmesa.git i965: make brw_setup_image_uniform_values static 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 --- diff --git a/src/intel/compiler/brw_shader.h b/src/intel/compiler/brw_shader.h index 5a253e6..89e2776 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 50bc1d0..f35e8f8 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,