From 6e325f12030698392ea8ca0d1be4eb95655209a7 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Tue, 23 May 2017 17:02:16 -0700 Subject: [PATCH] i965: Move func to right comment block in brw_context.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit brw_init_surface_formats() is defined in brw_surface_formats.c, not brw_wm_surface_state.c. Reviewed-by: Tapani Pälli --- src/mesa/drivers/dri/i965/brw_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index ccedeccf309..f45fc2479c0 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1388,7 +1388,6 @@ brw_get_index_type(unsigned index_size) void brw_prepare_vertices(struct brw_context *brw); /* brw_wm_surface_state.c */ -void brw_init_surface_formats(struct brw_context *brw); void brw_create_constant_surface(struct brw_context *brw, struct brw_bo *bo, uint32_t offset, @@ -1420,6 +1419,7 @@ void brw_upload_image_surfaces(struct brw_context *brw, struct brw_stage_prog_data *prog_data); /* brw_surface_formats.c */ +void brw_init_surface_formats(struct brw_context *brw); bool brw_render_target_supported(struct brw_context *brw, struct gl_renderbuffer *rb); uint32_t brw_depth_format(struct brw_context *brw, mesa_format format); -- 2.30.2