i965: Merge intelInitFunctions() and brwInitFunctions().
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 27 Sep 2013 21:42:43 +0000 (14:42 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 13 Oct 2013 07:10:44 +0000 (00:10 -0700)
They do exactly the same thing.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_context.c

index fd1dabaadcba69a957c684e671d108f498ffd4ce..740a33ae4d5bd15432d88cd4f9db78f2ed7aacc6 100644 (file)
@@ -208,10 +208,9 @@ intelFinish(struct gl_context * ctx)
       drm_intel_bo_wait_rendering(brw->batch.last_bo);
 }
 
-
-
-void
-intelInitDriverFunctions(struct dd_function_table *functions)
+static void
+brwInitDriverFunctions(struct intel_screen *screen,
+                       struct dd_function_table *functions)
 {
    _mesa_init_driver_functions(functions);
 
@@ -230,12 +229,6 @@ intelInitDriverFunctions(struct dd_function_table *functions)
    intelInitBufferObjectFuncs(functions);
    intel_init_syncobj_functions(functions);
    brw_init_object_purgeable_functions(functions);
-}
-
-static void brwInitDriverFunctions(struct intel_screen *screen,
-                                  struct dd_function_table *functions)
-{
-   intelInitDriverFunctions( functions );
 
    brwInitFragProgFuncs( functions );
    brw_init_common_queryobj_functions(functions);