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
22 'brw_binding_tables.c',
30 'brw_conditional_render.c',
45 'brw_generate_mipmap.c',
48 'brw_gs_surface_state.c',
53 'brw_multisample_state.h',
54 'brw_nir_uniforms.cpp',
55 'brw_object_purgeable.c',
57 'brw_performance_query.h',
58 'brw_performance_query.c',
61 'brw_program_binary.c',
62 'brw_program_cache.c',
63 'brw_primitive_restart.c',
70 'brw_surface_formats.c',
73 'brw_tcs_surface_state.c',
75 'brw_tes_surface_state.c',
81 'brw_vs_surface_state.c',
84 'brw_wm_surface_state.c',
87 'gen6_constant_state.c',
88 'gen6_multisample_state.c',
90 'gen6_sampler_state.c',
97 'gen8_multisample_state.c',
100 'intel_batchbuffer.c',
101 'intel_batchbuffer.h',
104 'intel_buffer_objects.c',
105 'intel_buffer_objects.h',
108 'intel_copy_image.c',
109 'intel_extensions.c',
113 'intel_mipmap_tree.c',
114 'intel_mipmap_tree.h',
115 'intel_pixel_bitmap.c',
117 'intel_pixel_copy.c',
118 'intel_pixel_draw.c',
120 'intel_pixel_read.c',
129 'intel_tex_validate.c',
135 foreach v : ['40', '45', '50', '60', '70', '75', '80', '90', '100', '110']
136 i965_gen_libs += static_library(
137 'i965_gen@0@'.format(v),
138 ['genX_blorp_exec.c', 'genX_boilerplate.h', 'genX_pipe_control.c',
139 'genX_state_upload.c', gen_xml_pack],
140 include_directories : [inc_common, inc_intel, inc_dri_common],
142 c_vis_args, no_override_init_args, c_sse2_args,
143 '-DGEN_VERSIONx10=@0@'.format(v),
145 dependencies : [dep_libdrm, idep_nir_headers],
150 libi965 = static_library(
152 [files_i965, ir_expression_operation_h],
153 include_directories : [
154 inc_common, inc_intel, inc_dri_common, inc_include,
156 c_args : [c_vis_args, no_override_init_args, c_sse2_args],
157 cpp_args : [cpp_vis_args, c_sse2_args],
159 i965_gen_libs, libintel_dev, libisl, libintel_compiler, libblorp,
163 dep_libdrm, dep_valgrind, idep_libintel_common, idep_nir_headers, idep_genxml,