head 1.1; branch 1.1.1; access; symbols netbsd-11-0-RC5:1.1.1.3 netbsd-11-0-RC4:1.1.1.3 netbsd-11-0-RC3:1.1.1.3 netbsd-11-0-RC2:1.1.1.3 netbsd-11-0-RC1:1.1.1.3 netbsd-11:1.1.1.3.0.4 netbsd-11-base:1.1.1.3 netbsd-10-1-RELEASE:1.1.1.3 netbsd-9-4-RELEASE:1.1.1.1 netbsd-10-0-RELEASE:1.1.1.3 netbsd-10-0-RC6:1.1.1.3 netbsd-10-0-RC5:1.1.1.3 netbsd-10-0-RC4:1.1.1.3 netbsd-10-0-RC3:1.1.1.3 netbsd-10-0-RC2:1.1.1.3 netbsd-10-0-RC1:1.1.1.3 netbsd-10:1.1.1.3.0.2 netbsd-10-base:1.1.1.3 netbsd-9-3-RELEASE:1.1.1.1 mesa-21-3-7:1.1.1.3 netbsd-9-2-RELEASE:1.1.1.1 netbsd-9-1-RELEASE:1.1.1.1 netbsd-9-0-RELEASE:1.1.1.1 netbsd-9-0-RC2:1.1.1.1 netbsd-9-0-RC1:1.1.1.1 mesalib-19-1-7:1.1.1.2 netbsd-9:1.1.1.1.0.2 netbsd-9-base:1.1.1.1 mesa-18-3-6:1.1.1.1 mesa-18-3-4:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.1 date 2019.03.10.03.42.39; author mrg; state Exp; branches 1.1.1.1; next ; commitid r12jo1Nf3ebQKLeB; 1.1.1.1 date 2019.03.10.03.42.39; author mrg; state Exp; branches; next 1.1.1.2; commitid r12jo1Nf3ebQKLeB; 1.1.1.2 date 2019.09.24.18.05.09; author maya; state Exp; branches; next 1.1.1.3; commitid KJXusGl8fi9AAhEB; 1.1.1.3 date 2022.05.09.01.23.40; author mrg; state Exp; branches; next ; commitid UEBs6hNk81DdQjDD; desc @@ 1.1 log @Initial revision @ text @# Copyright © 2017 Intel Corporation # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. files_i965 = files( 'brw_binding_tables.c', 'brw_blorp.c', 'brw_blorp.h', 'brw_bufmgr.c', 'brw_bufmgr.h', 'brw_clear.c', 'brw_clip.c', 'brw_compute.c', 'brw_conditional_render.c', 'brw_context.c', 'brw_context.h', 'brw_cs.c', 'brw_cs.h', 'brw_curbe.c', 'brw_defines.h', 'brw_disk_cache.c', 'brw_draw.c', 'brw_draw.h', 'brw_draw_upload.c', 'brw_ff_gs.c', 'brw_ff_gs_emit.c', 'brw_ff_gs.h', 'brw_formatquery.c', 'brw_generate_mipmap.c', 'brw_gs.c', 'brw_gs.h', 'brw_gs_surface_state.c', 'brw_link.cpp', 'brw_meta_util.c', 'brw_meta_util.h', 'brw_misc_state.c', 'brw_multisample_state.h', 'brw_nir_uniforms.cpp', 'brw_object_purgeable.c', 'brw_pipe_control.c', 'brw_performance_query.h', 'brw_performance_query.c', 'brw_performance_query_mdapi.c', 'brw_performance_query_metrics.h', 'brw_program.c', 'brw_program.h', 'brw_program_binary.c', 'brw_program_cache.c', 'brw_primitive_restart.c', 'brw_queryobj.c', 'brw_reset.c', 'brw_sf.c', 'brw_state.h', 'brw_state_upload.c', 'brw_structs.h', 'brw_surface_formats.c', 'brw_sync.c', 'brw_tcs.c', 'brw_tcs_surface_state.c', 'brw_tes.c', 'brw_tes_surface_state.c', 'brw_urb.c', 'brw_util.c', 'brw_util.h', 'brw_vs.c', 'brw_vs.h', 'brw_vs_surface_state.c', 'brw_wm.c', 'brw_wm.h', 'brw_wm_surface_state.c', 'gen4_blorp_exec.h', 'gen6_clip_state.c', 'gen6_constant_state.c', 'gen6_multisample_state.c', 'gen6_queryobj.c', 'gen6_sampler_state.c', 'gen6_sol.c', 'gen6_urb.c', 'gen7_l3_state.c', 'gen7_sol_state.c', 'gen7_urb.c', 'gen8_depth_state.c', 'gen8_multisample_state.c', 'hsw_queryobj.c', 'hsw_sol.c', 'intel_batchbuffer.c', 'intel_batchbuffer.h', 'intel_blit.c', 'intel_blit.h', 'intel_buffer_objects.c', 'intel_buffer_objects.h', 'intel_buffers.c', 'intel_buffers.h', 'intel_copy_image.c', 'intel_extensions.c', 'intel_fbo.c', 'intel_fbo.h', 'intel_image.h', 'intel_mipmap_tree.c', 'intel_mipmap_tree.h', 'intel_pixel_bitmap.c', 'intel_pixel.c', 'intel_pixel_copy.c', 'intel_pixel_draw.c', 'intel_pixel.h', 'intel_pixel_read.c', 'intel_screen.c', 'intel_screen.h', 'intel_state.c', 'intel_tex.c', 'intel_tex_copy.c', 'intel_tex.h', 'intel_tex_image.c', 'intel_tex_obj.h', 'intel_tex_validate.c', 'intel_upload.c', 'libdrm_macros.h', ) files_intel_tiled_memcpy = files( 'intel_tiled_memcpy_normal.c', 'intel_tiled_memcpy.h', ) files_intel_tiled_memcpy_sse41 = files( 'intel_tiled_memcpy_sse41.c', 'intel_tiled_memcpy_sse41.h', ) i965_gen_libs = [] foreach v : ['40', '45', '50', '60', '70', '75', '80', '90', '100', '110'] i965_gen_libs += static_library( 'i965_gen@@0@@'.format(v), ['genX_blorp_exec.c', 'genX_state_upload.c', gen_xml_pack], include_directories : [inc_common, inc_intel, inc_dri_common], c_args : [ c_vis_args, no_override_init_args, c_sse2_args, '-DGEN_VERSIONx10=@@0@@'.format(v), ], dependencies : [dep_libdrm, idep_nir_headers], ) endforeach i965_hw_metrics = [ 'hsw', 'bdw', 'chv', 'sklgt2', 'sklgt3', 'sklgt4', 'kblgt2', 'kblgt3', 'cflgt2', 'cflgt3', 'bxt', 'glk', 'cnl', ] i965_hw_metrics_xml_files = [] foreach hw : i965_hw_metrics i965_hw_metrics_xml_files += 'brw_oa_@@0@@.xml'.format(hw) endforeach i965_oa_sources = custom_target( 'i965-oa-sources', input : i965_hw_metrics_xml_files, output : [ 'brw_oa_metrics.c', 'brw_oa_metrics.h' ], command : [ prog_python, files('brw_oa.py'), '--code', '@@OUTPUT0@@', '--header', '@@OUTPUT1@@', '@@INPUT@@', ], ) intel_tiled_memcpy = static_library( 'intel_tiled_memcpy', [files_intel_tiled_memcpy], include_directories : [ inc_common, inc_intel, inc_dri_common, inc_drm_uapi, ], c_args : [c_vis_args, no_override_init_args, '-msse2'], extra_files : ['intel_tiled_memcpy.c'] ) if with_sse41 intel_tiled_memcpy_sse41 = static_library( 'intel_tiled_memcpy_sse41', [files_intel_tiled_memcpy_sse41], include_directories : [ inc_common, inc_intel, inc_dri_common, inc_drm_uapi, ], link_args : ['-Wl,--exclude-libs=ALL'], c_args : [c_vis_args, no_override_init_args, '-Wl,--exclude-libs=ALL', '-msse2', sse41_args], extra_files : ['intel_tiled_memcpy.c'] ) else intel_tiled_memcpy_sse41 = [] endif libi965 = static_library( 'i965', [files_i965, i965_oa_sources, ir_expression_operation_h, xmlpool_options_h], include_directories : [ inc_common, inc_intel, inc_dri_common, inc_util, inc_drm_uapi, ], c_args : [c_vis_args, no_override_init_args, c_sse2_args], cpp_args : [cpp_vis_args, c_sse2_args], link_with : [ i965_gen_libs, libintel_common, libintel_dev, libisl, libintel_compiler, libblorp, intel_tiled_memcpy, intel_tiled_memcpy_sse41 ], dependencies : [dep_libdrm, dep_valgrind, idep_nir_headers], ) dri_drivers += libi965 dri_link += 'i965_dri.so' @ 1.1.1.1 log @from maya: Import mesa 18.3.4. Mesa 18.3.4 implements the OpenGL 4.5 API. Some drivers don't support all the features required in OpenGL 4.5. @ text @@ 1.1.1.2 log @Import mesa 19.1.7 New features in mesa 19.1.0: GL_ARB_parallel_shader_compile on all drivers. GL_EXT_gpu_shader4 on all GL 3.1 drivers. GL_EXT_shader_image_load_formatted on radeonsi. GL_EXT_texture_buffer_object on all GL 3.1 drivers. GL_EXT_texture_compression_s3tc_srgb on Gallium drivers and i965 (ES extension). GL_NV_compute_shader_derivatives on iris and i965. GL_KHR_parallel_shader_compile on all drivers. VK_EXT_buffer_device_address on Intel and RADV. VK_EXT_depth_clip_enable on Intel and RADV. VK_KHR_ycbcr_image_arrays on Intel. VK_EXT_inline_uniform_block on Intel and RADV. VK_EXT_external_memory_host on Intel. VK_EXT_host_query_reset on Intel and RADV. VK_KHR_surface_protected_capabilities on Intel and RADV. VK_EXT_pipeline_creation_feedback on Intel and RADV. VK_KHR_8bit_storage on RADV. VK_AMD_gpu_shader_int16 on RADV. VK_AMD_gpu_shader_half_float on RADV. VK_NV_compute_shader_derivatives on Intel. VK_KHR_shader_float16_int8 on Intel and RADV (RADV only supports int8). VK_KHR_shader_atomic_int64 on Intel. VK_EXT_descriptor_indexing on Intel. VK_KHR_shader_float16_int8 on Intel and RADV. GL_INTEL_conservative_rasterization on iris. VK_EXT_memory_budget on Intel. New features in mesa 19.0.0: GL_AMD_texture_texture4 on all GL 4.0 drivers. GL_EXT_shader_implicit_conversions on all drivers (ES extension). GL_EXT_texture_compression_bptc on all GL 4.0 drivers (ES extension). GL_EXT_texture_compression_rgtc on all GL 3.0 drivers (ES extension). GL_EXT_render_snorm on gallium drivers (ES extension). GL_EXT_texture_view on drivers supporting texture views (ES extension). GL_OES_texture_view on drivers supporting texture views (ES extension). GL_NV_shader_atomic_float on nvc0 (Fermi/Kepler only). Shader-based software implementations of GL_ARB_gpu_shader_fp64, GL_ARB_gpu_shader_int64, GL_ARB_vertex_attrib_64bit, and GL_ARB_shader_ballot on i965. VK_ANDROID_external_memory_android_hardware_buffer on Intel Fixed and re-exposed VK_EXT_pci_bus_info on Intel and RADV VK_EXT_scalar_block_layout on Intel and RADV VK_KHR_depth_stencil_resolve on Intel VK_KHR_draw_indirect_count on Intel VK_EXT_conditional_rendering on Intel VK_EXT_memory_budget on RADV Also, bug fixes. @ text @d60 1 d136 10 d150 1 a150 2 ['genX_blorp_exec.c', 'genX_boilerplate.h', 'genX_pipe_control.c', 'genX_state_upload.c', gen_xml_pack], d161 52 d215 2 a216 1 [files_i965, ir_expression_operation_h, xmlpool_options_h], d218 1 a218 1 inc_common, inc_intel, inc_dri_common, inc_util, inc_include, d224 1 a224 1 libblorp, libintel_perf d226 1 a226 1 dependencies : [dep_libdrm, dep_valgrind, idep_nir_headers, idep_genxml], d228 3 @ 1.1.1.3 log @initial import of mesa 21.3.7 main changes since 19.1.7 include: - more support for Vulkan functions - better supported for newer radeonsi (both amdgpu and radeon backends) - various bug fixes in many drivers - many fixes and enhancements for intel drivers - some fixes for nvidia - OpenGL 4.6 for some drivers (intel, radeonsi) - intel Tigerlake and Rocketlake support - Vulkan 1.2 for some drivers - OpenGL 4.5, GLES 3.2, and more on llvmpipe - working Panfrost and Midgard drivers - fix warnings in radeonsi vs newer llvm @ text @d42 1 d57 1 d59 1 d86 13 a98 13 'gfx4_blorp_exec.h', 'gfx6_clip_state.c', 'gfx6_constant_state.c', 'gfx6_multisample_state.c', 'gfx6_queryobj.c', 'gfx6_sampler_state.c', 'gfx6_sol.c', 'gfx6_urb.c', 'gfx7_l3_state.c', 'gfx7_sol_state.c', 'gfx7_urb.c', 'gfx8_depth_state.c', 'gfx8_multisample_state.c', d101 31 a131 31 'brw_batch.c', 'brw_batch.h', 'brw_blit.c', 'brw_blit.h', 'brw_buffer_objects.c', 'brw_buffer_objects.h', 'brw_buffers.c', 'brw_buffers.h', 'brw_copy_image.c', 'brw_extensions.c', 'brw_fbo.c', 'brw_fbo.h', 'brw_image.h', 'brw_mipmap_tree.c', 'brw_mipmap_tree.h', 'brw_pixel_bitmap.c', 'brw_pixel.c', 'brw_pixel_copy.c', 'brw_pixel_draw.c', 'brw_pixel.h', 'brw_pixel_read.c', 'brw_screen.c', 'brw_screen.h', 'brw_state.c', 'brw_tex.c', 'brw_tex_copy.c', 'brw_tex.h', 'brw_tex_image.c', 'brw_tex_obj.h', 'brw_tex_validate.c', 'brw_upload.c', d135 4 a138 4 i965_per_hw_ver_libs = [] foreach v : ['40', '45', '50', '60', '70', '75', '80', '90', '110'] i965_per_hw_ver_libs += static_library( 'i965_per_hw_ver@@0@@'.format(v), d141 1 a141 1 include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_intel, inc_dri_common], d143 2 a144 2 no_override_init_args, c_sse2_args, '-DGFX_VERx10=@@0@@'.format(v), d146 1 a146 2 gnu_symbol_visibility : 'hidden', dependencies : [dep_libdrm, idep_nir_headers, idep_mesautil], d153 1 a153 1 [files_i965, ir_expression_operation_h], d155 1 a155 1 inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_intel, inc_dri_common, d157 2 a158 3 c_args : [no_override_init_args, c_sse2_args], cpp_args : [c_sse2_args], gnu_symbol_visibility : 'hidden', d160 2 a161 6 i965_per_hw_ver_libs, libintel_dev, libisl, libintel_compiler, libblorp, libintel_perf ], dependencies : [ dep_libdrm, dep_valgrind, idep_libintel_common, idep_nir_headers, idep_genxml, idep_xmlconfig, d163 1 @