head 1.2; access; symbols netbsd-9-4-RELEASE:1.1.1.1 netbsd-9-3-RELEASE:1.1.1.1 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.2 date 2022.05.09.01.27.25; author mrg; state dead; branches; next 1.1; commitid vdvqJ71xlVGCRjDD; 1.1 date 2019.03.10.03.42.41; author mrg; state Exp; branches 1.1.1.1; next ; commitid r12jo1Nf3ebQKLeB; 1.1.1.1 date 2019.03.10.03.42.41; author mrg; state Exp; branches; next 1.1.1.2; commitid r12jo1Nf3ebQKLeB; 1.1.1.2 date 2019.09.24.17.27.35; author maya; state Exp; branches; next ; commitid KJXusGl8fi9AAhEB; desc @@ 1.2 log @merge mesa 21.3.7. @ text @# Copyright © 2017-2018 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. clover_cpp_args = [] clover_incs = [inc_include, inc_src, inc_gallium, inc_gallium_aux] if with_opencl_icd clover_cpp_args += '-DHAVE_CLOVER_ICD' endif libcltgsi = static_library( 'cltgsi', files('tgsi/compiler.cpp', 'tgsi/invocation.hpp'), include_directories : clover_incs, cpp_args : [cpp_vis_args], override_options : clover_cpp_std, ) libclllvm = static_library( 'clllvm', files( 'llvm/codegen/bitcode.cpp', 'llvm/codegen/common.cpp', 'llvm/codegen/native.cpp', 'llvm/codegen.hpp', 'llvm/compat.hpp', 'llvm/invocation.cpp', 'llvm/invocation.hpp', 'llvm/metadata.hpp', 'llvm/util.hpp', ), include_directories : clover_incs, cpp_args : [ cpp_vis_args, '-DLIBCLC_INCLUDEDIR="@@0@@/"'.format(dep_clc.get_pkgconfig_variable('includedir')), '-DLIBCLC_LIBEXECDIR="@@0@@/"'.format(dep_clc.get_pkgconfig_variable('libexecdir')), '-DCLANG_RESOURCE_DIR="@@0@@"'.format(join_paths( dep_llvm.get_configtool_variable('libdir'), 'clang', dep_llvm.get_configtool_variable('version'), 'include', )), ], dependencies : [dep_llvm, dep_elf], override_options : clover_cpp_std, ) clover_files = files( 'api/context.cpp', 'api/device.cpp', 'api/dispatch.cpp', 'api/dispatch.hpp', 'api/event.cpp', 'api/interop.cpp', 'api/kernel.cpp', 'api/memory.cpp', 'api/platform.cpp', 'api/program.cpp', 'api/queue.cpp', 'api/sampler.cpp', 'api/transfer.cpp', 'api/util.hpp', 'core/context.cpp', 'core/context.hpp', 'core/device.cpp', 'core/device.hpp', 'core/error.hpp', 'core/event.cpp', 'core/event.hpp', 'core/format.cpp', 'core/format.hpp', 'core/kernel.cpp', 'core/kernel.hpp', 'core/memory.cpp', 'core/memory.hpp', 'core/module.cpp', 'core/module.hpp', 'core/object.hpp', 'core/platform.cpp', 'core/platform.hpp', 'core/program.cpp', 'core/program.hpp', 'core/property.hpp', 'core/queue.cpp', 'core/queue.hpp', 'core/resource.cpp', 'core/resource.hpp', 'core/sampler.cpp', 'core/sampler.hpp', 'core/timestamp.cpp', 'core/timestamp.hpp', 'util/adaptor.hpp', 'util/algebra.hpp', 'util/algorithm.hpp', 'util/factor.hpp', 'util/functional.hpp', 'util/lazy.hpp', 'util/pointer.hpp', 'util/range.hpp', 'util/tuple.hpp', ) libclover = static_library( 'clover', [clover_files, sha1_h], include_directories : clover_incs, cpp_args : [clover_cpp_args, cpp_vis_args], link_with : [libcltgsi, libclllvm], override_options : clover_cpp_std, ) @ 1.1 log @Initial revision @ text @@ 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 @d28 8 d56 1 a56 1 dep_llvm.version(), 'include', d123 1 a123 1 link_with : [libclllvm], @