summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,