From: Mauro Rossi Date: Fri, 5 Jun 2020 20:33:48 +0000 (+0200) Subject: android: svga: fix build for GL4.1 support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06650a771dc44b3f5628b6d172e224a103a79762;p=mesa.git android: svga: fix build for GL4.1 support Fixes the following building errors: external/mesa/src/gallium/drivers/svga/svga_context.c:184: error: undefined reference to 'svga_init_ts_functions' external/mesa/src/gallium/drivers/svga/svga_context.c:100: error: undefined reference to 'svga_cleanup_tcs_state' out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_pipe_svga_intermediates/libmesa_pipe_svga.a(svga_state.o):svga_state.c:hw_draw_state_sm5: error: undefined reference to 'svga_hw_tes' out/target/product/x86_64/obj_x86/STATIC_LIBRARIES/libmesa_pipe_svga_intermediates/libmesa_pipe_svga.a(svga_state.o):svga_state.c:hw_draw_state_sm5: error: undefined reference to 'svga_hw_tcs' Fixes: ccb4ea5a "svga: Add GL4.1(compatibility profile) support in svga driver" Signed-off-by: Mauro Rossi Reviewed-by: Charmaine Lee Part-of: --- diff --git a/src/gallium/drivers/svga/Makefile.sources b/src/gallium/drivers/svga/Makefile.sources index 229d2863c84..2b57ae6d091 100644 --- a/src/gallium/drivers/svga/Makefile.sources +++ b/src/gallium/drivers/svga/Makefile.sources @@ -31,6 +31,7 @@ C_SOURCES := \ svga_pipe_sampler.c \ svga_pipe_streamout.c \ svga_pipe_vertex.c \ + svga_pipe_ts.c \ svga_pipe_vs.c \ svga_public.h \ svga_resource_buffer.c \ @@ -61,6 +62,7 @@ C_SOURCES := \ svga_state_tgsi_transform.c \ svga_state_tss.c \ svga_state_vdecl.c \ + svga_state_ts.c \ svga_state_vs.c \ svga_streamout.h \ svga_surface.c \