i965: Merge intelInitFunctions() and brwInitFunctions().
They do exactly the same thing. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
0138fd4610
commit
9848a42287
|
@ -208,10 +208,9 @@ intelFinish(struct gl_context * ctx)
|
||||||
drm_intel_bo_wait_rendering(brw->batch.last_bo);
|
drm_intel_bo_wait_rendering(brw->batch.last_bo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
brwInitDriverFunctions(struct intel_screen *screen,
|
||||||
void
|
struct dd_function_table *functions)
|
||||||
intelInitDriverFunctions(struct dd_function_table *functions)
|
|
||||||
{
|
{
|
||||||
_mesa_init_driver_functions(functions);
|
_mesa_init_driver_functions(functions);
|
||||||
|
|
||||||
|
@ -230,12 +229,6 @@ intelInitDriverFunctions(struct dd_function_table *functions)
|
||||||
intelInitBufferObjectFuncs(functions);
|
intelInitBufferObjectFuncs(functions);
|
||||||
intel_init_syncobj_functions(functions);
|
intel_init_syncobj_functions(functions);
|
||||||
brw_init_object_purgeable_functions(functions);
|
brw_init_object_purgeable_functions(functions);
|
||||||
}
|
|
||||||
|
|
||||||
static void brwInitDriverFunctions(struct intel_screen *screen,
|
|
||||||
struct dd_function_table *functions)
|
|
||||||
{
|
|
||||||
intelInitDriverFunctions( functions );
|
|
||||||
|
|
||||||
brwInitFragProgFuncs( functions );
|
brwInitFragProgFuncs( functions );
|
||||||
brw_init_common_queryobj_functions(functions);
|
brw_init_common_queryobj_functions(functions);
|
||||||
|
|
Loading…
Reference in New Issue