android: svga: fix build for GL4.1 support
authorMauro Rossi <issor.oruam@gmail.com>
Fri, 5 Jun 2020 20:33:48 +0000 (22:33 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 6 Jun 2020 07:32:25 +0000 (09:32 +0200)
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 <issor.oruam@gmail.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5364>

src/gallium/drivers/svga/Makefile.sources

index 229d2863c84caa6015c85ea6e5676922fa559326..2b57ae6d091d3dd7782d4abe9d0259d890dbc6a8 100644 (file)
@@ -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 \