1# Copyright © 2017 Intel Corporation 2# SPDX-License-Identifier: MIT 3 4files_softpipe = files( 5 'sp_buffer.c', 6 'sp_buffer.h', 7 'sp_clear.c', 8 'sp_clear.h', 9 'sp_context.c', 10 'sp_context.h', 11 'sp_compute.c', 12 'sp_draw_arrays.c', 13 'sp_fence.c', 14 'sp_fence.h', 15 'sp_flush.c', 16 'sp_flush.h', 17 'sp_fs_exec.c', 18 'sp_fs.h', 19 'sp_image.c', 20 'sp_image.h', 21 'sp_limits.h', 22 'sp_prim_vbuf.c', 23 'sp_prim_vbuf.h', 24 'sp_public.h', 25 'sp_quad_blend.c', 26 'sp_quad_depth_test.c', 27 'sp_quad_depth_test_tmp.h', 28 'sp_quad_fs.c', 29 'sp_quad.h', 30 'sp_quad_pipe.c', 31 'sp_quad_pipe.h', 32 'sp_query.c', 33 'sp_query.h', 34 'sp_screen.c', 35 'sp_screen.h', 36 'sp_setup.c', 37 'sp_setup.h', 38 'sp_state_blend.c', 39 'sp_state_clip.c', 40 'sp_state_derived.c', 41 'sp_state_image.c', 42 'sp_state.h', 43 'sp_state_rasterizer.c', 44 'sp_state_sampler.c', 45 'sp_state_shader.c', 46 'sp_state_so.c', 47 'sp_state_surface.c', 48 'sp_state_vertex.c', 49 'sp_surface.c', 50 'sp_surface.h', 51 'sp_tex_sample.c', 52 'sp_tex_sample.h', 53 'sp_tex_tile_cache.c', 54 'sp_tex_tile_cache.h', 55 'sp_texture.c', 56 'sp_texture.h', 57 'sp_tile_cache.c', 58 'sp_tile_cache.h', 59) 60 61libsoftpipe = static_library( 62 'softpipe', 63 files_softpipe, 64 include_directories : [inc_gallium_aux, inc_gallium, inc_include, inc_src], 65 c_args : [c_msvc_compat_args], 66 gnu_symbol_visibility : 'hidden', 67 dependencies : [idep_nir, idep_mesautil], 68) 69 70driver_softpipe = declare_dependency( 71 compile_args : '-DGALLIUM_SOFTPIPE', 72 link_with : libsoftpipe 73) 74