i965: make brw_setup_image_uniform_values static
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 20 Mar 2017 16:04:03 +0000 (16:04 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Mar 2017 16:55:21 +0000 (16:55 +0000)
Used only internally.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Vedran Miletić <vedran@miletic.net>
Acked-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/intel/compiler/brw_shader.h
src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp

index 5a253e665702e22df0d6349a8c3d48aaef77d221..89e2776776eeb66376fde1a714bda533f01478a6 100644 (file)
@@ -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 */
index 50bc1d07f89c7a86b79c75de60154db9e3053117..f35e8f88dd2f5d43f952e82b1f84bacd119fe332 100644 (file)
@@ -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,