head 1.1; branch 1.1.1; access; symbols netbsd-11-0-RC4:1.1.1.2 netbsd-11-0-RC3:1.1.1.2 netbsd-11-0-RC2:1.1.1.2 netbsd-11-0-RC1:1.1.1.2 netbsd-11:1.1.1.2.0.4 netbsd-11-base:1.1.1.2 netbsd-10-1-RELEASE:1.1.1.2 netbsd-10-0-RELEASE:1.1.1.2 netbsd-10-0-RC6:1.1.1.2 netbsd-10-0-RC5:1.1.1.2 netbsd-10-0-RC4:1.1.1.2 netbsd-10-0-RC3:1.1.1.2 netbsd-10-0-RC2:1.1.1.2 netbsd-10-0-RC1:1.1.1.2 netbsd-10:1.1.1.2.0.2 netbsd-10-base:1.1.1.2 mesa-21-3-7:1.1.1.2 mesalib-19-1-7:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.1 date 2019.09.24.17.11.15; author maya; state Exp; branches 1.1.1.1; next ; commitid KJXusGl8fi9AAhEB; 1.1.1.1 date 2019.09.24.17.11.15; author maya; state Exp; branches; next 1.1.1.2; commitid KJXusGl8fi9AAhEB; 1.1.1.2 date 2022.05.09.01.23.32; author mrg; state Exp; branches; next ; commitid UEBs6hNk81DdQjDD; desc @@ 1.1 log @Initial revision @ text @# Copyright © 2017 Intel Corporation # Copyright © 2018 Alyssa Rosenzweig # 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_panfrost = files( 'pan_public.h', 'pan_screen.c', 'pan_screen.h', 'pan_resource.c', 'pan_resource.h', 'midgard/midgard_compile.c', 'midgard/cppwrap.cpp', 'midgard/disassemble.c', 'bifrost/disassemble.c', 'pan_context.c', 'pan_job.c', 'pan_trace.c', 'pan_drm.c', 'pan_allocate.c', 'pan_assemble.c', 'pan_format.c', 'pan_swizzle.c', 'pan_blending.c', 'pan_blend_shaders.c', 'pan_wallpaper.c', 'pan_pretty_print.c', 'pan_fragment.c', 'pan_sfbd.c', 'pan_mfbd.c' ) inc_panfrost = [ inc_common, inc_gallium, inc_gallium_aux, inc_include, inc_src, include_directories('include'), include_directories('midgard'), include_directories('bifrost'), ] compile_args_panfrost = [ '-DGALLIUM_PANFROST', '-Wno-pointer-arith' ] midgard_nir_algebraic_c = custom_target( 'midgard_nir_algebraic.c', input : 'midgard/midgard_nir_algebraic.py', output : 'midgard_nir_algebraic.c', command : [ prog_python, '@@INPUT@@', '-p', join_paths(meson.source_root(), 'src/compiler/nir/'), ], capture : true, depend_files : nir_algebraic_py, ) libpanfrost = static_library( 'panfrost', [files_panfrost, midgard_nir_algebraic_c], dependencies: [ dep_thread, dep_libdrm, idep_nir ], include_directories : inc_panfrost, c_args : [c_vis_args, c_msvc_compat_args, compile_args_panfrost], ) driver_panfrost = declare_dependency( compile_args : compile_args_panfrost, link_with : [libpanfrost, libpanfrostwinsys], ) files_midgard = files( 'midgard/midgard_compile.c', 'midgard/cppwrap.cpp', 'midgard/disassemble.c', 'midgard/cmdline.c', ) files_bifrost = files( 'bifrost/disassemble.c', 'bifrost/cmdline.c', ) midgard_compiler = executable( 'midgard_compiler', [files_midgard, midgard_nir_algebraic_c], include_directories : inc_panfrost, dependencies : [ dep_thread, idep_nir ], link_with : [ libgallium, libglsl_standalone, libmesa_util ], build_by_default : true ) bifrost_compiler = executable( 'bifrost_compiler', [files_bifrost], include_directories : [ inc_common, inc_src, inc_include, inc_gallium, inc_gallium_aux, include_directories('bifrost') ], dependencies : [ dep_thread, idep_nir ], link_with : [ libgallium, libglsl_standalone, libmesa_util ], build_by_default : true ) files_pandecode = files( 'pandecode/cmdline.c', 'pandecode/decode.c', 'pan_pretty_print.c', 'midgard/disassemble.c' ) pandecode = executable( 'pandecode', files_pandecode, include_directories : inc_panfrost, dependencies : [ dep_thread, ], link_with : [ libmesa_util ], build_by_default : true ) @ 1.1.1.1 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 @@ 1.1.1.2 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 @a22 1 'pan_helpers.c', d28 7 a35 1 'pan_blit.c', d37 3 d41 9 a49 3 'pan_compute.c', 'pan_mempool.c', 'pan_mempool.h', d52 2 a53 3 panfrost_includes = [ inc_mapi, inc_mesa, d58 3 a60 1 inc_panfrost, d68 10 a77 11 panfrost_versions = ['4', '5', '6', '7'] libpanfrost_versions = [] foreach ver : panfrost_versions libpanfrost_versions += static_library( 'panfrost-v' + ver, ['pan_cmdstream.c', pan_packers], include_directories : panfrost_includes, c_args : ['-DPAN_ARCH=' + ver], gnu_symbol_visibility : 'hidden', dependencies : [idep_pan_packers, idep_nir, dep_libdrm], a78 1 endforeach d82 1 a82 1 files_panfrost, d86 4 a89 8 idep_mesautil, idep_nir, idep_pan_packers ], include_directories : panfrost_includes, c_args : [c_msvc_compat_args, compile_args_panfrost], gnu_symbol_visibility : 'hidden', link_with: [libpanfrost_versions], d94 74 a167 1 link_with : [libpanfrost, libpanfrostwinsys, libpanfrost_shared, libpanfrost_midgard, libpanfrost_bifrost, libpanfrost_decode, libpanfrost_lib], @