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.c',
60 'brw_program_binary.c',
61 'brw_program_cache.c',
62 'brw_primitive_restart.c',
69 'brw_surface_formats.c',
72 'brw_tcs_surface_state.c',
74 'brw_tes_surface_state.c',
80 'brw_vs_surface_state.c',
83 'brw_wm_surface_state.c',
86 'gen6_constant_state.c',
87 'gen6_multisample_state.c',
89 'gen6_sampler_state.c',
96 'gen8_multisample_state.c',
99 'intel_batchbuffer.c',
100 'intel_batchbuffer.h',
103 'intel_buffer_objects.c',
104 'intel_buffer_objects.h',
107 'intel_copy_image.c',
108 'intel_extensions.c',
112 'intel_mipmap_tree.c',
113 'intel_mipmap_tree.h',
114 'intel_pixel_bitmap.c',
116 'intel_pixel_copy.c',
117 'intel_pixel_draw.c',
119 'intel_pixel_read.c',
128 'intel_tex_validate.c',
134 foreach v : ['40', '45', '50', '60', '70', '75', '80', '90', '100', '110']
135 i965_gen_libs += static_library(
136 'i965_gen@0@'.format(v),
137 ['genX_blorp_exec.c', 'genX_boilerplate.h', 'genX_pipe_control.c',
138 'genX_state_upload.c', gen_xml_pack],
139 include_directories : [inc_common, inc_intel, inc_dri_common],
141 c_vis_args, no_override_init_args, c_sse2_args,
142 '-DGEN_VERSIONx10=@0@'.format(v),
144 dependencies : [dep_libdrm, idep_nir_headers],
149 libi965 = static_library(
151 [files_i965, ir_expression_operation_h],
152 include_directories : [
153 inc_common, inc_intel, inc_dri_common, inc_include,
155 c_args : [c_vis_args, no_override_init_args, c_sse2_args],
156 cpp_args : [cpp_vis_args, c_sse2_args],
158 i965_gen_libs, libintel_dev, libisl, libintel_compiler, libblorp,
162 dep_libdrm, dep_valgrind, idep_libintel_common, idep_nir_headers, idep_genxml,