i965: Move func to right comment block in brw_context.h
authorChad Versace <chadversary@chromium.org>
Wed, 24 May 2017 00:02:16 +0000 (17:02 -0700)
committerChad Versace <chadversary@chromium.org>
Tue, 30 May 2017 19:01:38 +0000 (12:01 -0700)
brw_init_surface_formats() is defined in brw_surface_formats.c, not
brw_wm_surface_state.c.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/drivers/dri/i965/brw_context.h

index ccedeccf3094a1552dabd7865ae53c41b377f65a..f45fc2479c04fe0e84f1942450c6d173c26546bb 100644 (file)
@@ -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);