• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright © 2017 Intel Corporation
2
3# Permission is hereby granted, free of charge, to any person obtaining a copy
4# of this software and associated documentation files (the "Software"), to deal
5# in the Software without restriction, including without limitation the rights
6# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7# copies of the Software, and to permit persons to whom the Software is
8# furnished to do so, subject to the following conditions:
9
10# The above copyright notice and this permission notice shall be included in
11# all copies or substantial portions of the Software.
12
13# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19# SOFTWARE.
20
21files_softpipe = files(
22  'sp_buffer.c',
23  'sp_buffer.h',
24  'sp_clear.c',
25  'sp_clear.h',
26  'sp_context.c',
27  'sp_context.h',
28  'sp_compute.c',
29  'sp_draw_arrays.c',
30  'sp_fence.c',
31  'sp_fence.h',
32  'sp_flush.c',
33  'sp_flush.h',
34  'sp_fs_exec.c',
35  'sp_fs.h',
36  'sp_image.c',
37  'sp_image.h',
38  'sp_limits.h',
39  'sp_prim_vbuf.c',
40  'sp_prim_vbuf.h',
41  'sp_public.h',
42  'sp_quad_blend.c',
43  'sp_quad_depth_test.c',
44  'sp_quad_depth_test_tmp.h',
45  'sp_quad_fs.c',
46  'sp_quad.h',
47  'sp_quad_pipe.c',
48  'sp_quad_pipe.h',
49  'sp_quad_stipple.c',
50  'sp_query.c',
51  'sp_query.h',
52  'sp_screen.c',
53  'sp_screen.h',
54  'sp_setup.c',
55  'sp_setup.h',
56  'sp_state_blend.c',
57  'sp_state_clip.c',
58  'sp_state_derived.c',
59  'sp_state_image.c',
60  'sp_state.h',
61  'sp_state_rasterizer.c',
62  'sp_state_sampler.c',
63  'sp_state_shader.c',
64  'sp_state_so.c',
65  'sp_state_surface.c',
66  'sp_state_vertex.c',
67  'sp_surface.c',
68  'sp_surface.h',
69  'sp_tex_sample.c',
70  'sp_tex_sample.h',
71  'sp_tex_tile_cache.c',
72  'sp_tex_tile_cache.h',
73  'sp_texture.c',
74  'sp_texture.h',
75  'sp_tile_cache.c',
76  'sp_tile_cache.h',
77)
78
79libsoftpipe = static_library(
80  'softpipe',
81  files_softpipe,
82  include_directories : [inc_gallium_aux, inc_gallium, inc_include, inc_src],
83  c_args : [c_msvc_compat_args],
84  gnu_symbol_visibility : 'hidden',
85  dependencies : idep_nir,
86)
87
88driver_swrast = declare_dependency(
89  compile_args : '-DGALLIUM_SOFTPIPE',
90  link_with : libsoftpipe
91)
92