summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-03-20 16:04:03 +0000
committerEmil Velikov <[email protected]>2017-03-22 16:55:21 +0000
commit3b277bae66f23997860637f9f80c41a3f247dc5b (patch)
tree69e291f435d552ac619862efd74bc9b4177776fa
parent7e79e895a6006b1b3a94ac251d021db3566852e7 (diff)
i965: make brw_setup_image_uniform_values static
Used only internally. Signed-off-by: Emil Velikov <[email protected]> Acked-by: Lionel Landwerlin <[email protected]> Acked-by: Vedran Miletić <[email protected]> Acked-by: Juha-Pekka Heikkila <[email protected]> Reviewed-by: Edward O'Callaghan <[email protected]>
-rw-r--r--src/intel/compiler/brw_shader.h5
-rw-r--r--src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp2
2 files changed, 1 insertions, 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,