1 # Copyright © 2017 Intel Corporation
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:
10 # The above copyright notice and this permission notice shall be included in
11 # all copies or substantial portions of the Software.
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
27 'svga_draw_elements.c',
33 'svga_pipe_constants.c',
34 'svga_pipe_depthstencil.c',
41 'svga_pipe_rasterizer.c',
42 'svga_pipe_sampler.c',
43 'svga_pipe_streamout.c',
46 'svga_resource_buffer.c',
47 'svga_resource_buffer_upload.c',
49 'svga_resource_texture.c',
50 'svga_sampler_view.c',
52 'svga_screen_cache.c',
55 'svga_state_constants.c',
56 'svga_state_framebuffer.c',
59 'svga_state_need_swtnl.c',
61 'svga_state_sampler.c',
62 'svga_state_tgsi_transform.c',
67 'svga_swtnl_backend.c',
71 'svga_tgsi_decl_sm30.c',
74 'svgadump/svga_dump.c',
75 'svgadump/svga_shader_dump.c',
76 'svgadump/svga_shader_op.c',
79 libsvga = static_library(
82 c_args : [c_vis_args, c_msvc_compat_args],
83 include_directories : [
84 inc_src, inc_include, inc_gallium, inc_gallium_aux,
85 include_directories('include')
89 driver_svga = declare_dependency(
90 compile_args : '-DGALLIUM_VMWGFX',
91 link_with : [libsvga, libsvgadrm],