st/mesa: stop calling _mesa_init_shader_object_functions()
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 4 Apr 2018 06:29:59 +0000 (16:29 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 10 Apr 2018 04:43:45 +0000 (14:43 +1000)
This sets the LinkShader function for the driver, but for the st we
set it properly with the following call to st_init_program_functions().

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_context.c

index a3da0f8f1fc1e5b060cf03441534a1ce90932dd1..b0266bef8b5f1f37996601a802f50eed37b25983 100644 (file)
@@ -714,7 +714,6 @@ void
 st_init_driver_functions(struct pipe_screen *screen,
                          struct dd_function_table *functions)
 {
-   _mesa_init_shader_object_functions(functions);
    _mesa_init_sampler_object_functions(functions);
 
    st_init_draw_functions(functions);