From: Chad Versace Date: Wed, 24 May 2017 00:02:16 +0000 (-0700) Subject: i965: Move func to right comment block in brw_context.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e325f12030698392ea8ca0d1be4eb95655209a7;p=mesa.git i965: Move func to right comment block in brw_context.h brw_init_surface_formats() is defined in brw_surface_formats.c, not brw_wm_surface_state.c. Reviewed-by: Tapani Pälli --- 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);