| c87a3a8a |
20-Jul-2025 |
christos <christos@NetBSD.org> |
fix compilation |
| 771c18a5 |
22-Oct-2024 |
mrg <mrg@NetBSD.org> |
sort-of-fix Mesa on most 32-bit platforms. the new sparse_array implementation in Mesa 21 (not present in Mesa 19, as shipped with netbsd-10) triggers it asking for an __atomic_load_8() function, alongside it's __atomic_fetch_add_8/__atomic_fetch_sub_8/ __sync_val_compare_and_swap_8 versions on 32-bit platforms, so add a __atomic_load_8() workaround that uses the same method as the others to provide sync. (i did check, and almost the accesses in mesa that this accessor is used with do go via the API, the only ones not used are as part setup/clean up. tested by rin@ on macppc. |
| cbafdbbf |
24-Apr-2024 |
martin <martin@NetBSD.org> |
fix pasto in previous |
| 54c3abb5 |
24-Apr-2024 |
martin <martin@NetBSD.org> |
Add dummy cpu feature detection for mipsn64 on NetBSD. XXX seems there is no way to detect mips MSA (SIMD) support currently. |
| fc67b037 |
23-Apr-2024 |
martin <martin@NetBSD.org> |
Do not re-define CACHE_LINE_SIZE |
| 22fc2aa6 |
16-Jul-2023 |
rjs <rjs@NetBSD.org> |
sizeof() returns size_t type. |
| 68e1a643 |
16-Jul-2023 |
rjs <rjs@NetBSD.org> |
include cstdarg for va_list Copied from graphics/MesaLib pkg. |
| 1463c08d |
09-May-2022 |
mrg <mrg@NetBSD.org> |
merge mesa 21.3.7. |
| 7ec681f3 |
09-May-2022 |
mrg <mrg@NetBSD.org> |
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 |
| 757f638f |
05-Dec-2019 |
maya <maya@NetBSD.org> |
Wherever we test for setuid, also test for setgid. Inspired by a diff to openbsd but with a few more instances. |
| d03f69fb |
24-Sep-2019 |
maya <maya@NetBSD.org> |
Apply u_queue.c patch from pkgsrc: atexit is not a good idea in shared libraries. attempt to port cpuset logic to netbsd |
| d8407755 |
24-Sep-2019 |
maya <maya@NetBSD.org> |
Merge mesa 19.1.7 |
| 8a1362ad |
24-Sep-2019 |
maya <maya@NetBSD.org> |
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. |
| 993e1d59 |
01-Jun-2019 |
mrg <mrg@NetBSD.org> |
initial import of mesa-18.3.6 |
| d4151dd8 |
11-May-2019 |
christos <christos@NetBSD.org> |
try again to get it working for clang |
| 40b23707 |
02-May-2019 |
christos <christos@NetBSD.org> |
fix for clang. |
| b4219da8 |
15-Apr-2019 |
christos <christos@NetBSD.org> |
use long long and volatile consistently. |
| 9d3d7ada |
06-Apr-2019 |
maya <maya@NetBSD.org> |
Use a name for the largest representable float Actually intended to appease vax which has a floating point format that doesn't match the same range as IEEE754 float. (why not exp2f?) |
| 86eabd66 |
15-Mar-2019 |
mrg <mrg@NetBSD.org> |
spell it defined(__NetBSD__) so it actually matches and we skip this pragma warning during the build: Warning: Per application configuration won't work with your OS version. |
| 7e995a2e |
10-Mar-2019 |
mrg <mrg@NetBSD.org> |
merge Mesa 18.3.4. this work is mostly from maya@ with a little help from myself via these github commits: commit 57df9d9b59df14fd6ac8e30832ce4f29572a33c0 Author: coypu <coypu@sdf.org> Date: Mon Mar 4 12:24:37 2019 +0200 Make GCC happier about prototype, include right header for __HAVE_ATOMIC64_OPS commit 93c2f416aa316cc3d0665661c9f927f6949cdd37 Author: coypu <coypu@sdf.org> Date: Mon Mar 4 12:16:56 2019 +0200 Make the u_atomic.c fallback locked 64bit atomics more suited for the netbsd case: we are using __GNUC__ compilers, but without libatomic. so we are emitting the __GNUC__ names. Use __HAVE_ATOMIC64_OPS which is the netbsd name for this condition (we don't run configure) commit 84c2bf2f622f8a78f68ad1ca35b90bb991bdaab0 Author: coypu <coypu@sdf.org> Date: Sun Mar 3 20:02:38 2019 +0200 Remove unused padding to struct. The extra space is in the flexible array member at the end of struct drm_i915_query_topology_info. Clang dislikes having an extra member to the struct after the flexible array member. commit 00f432b0edf95a6e292e8259ad3096a07966b53c Author: Maya Rashish <maya@NetBSD.org> Date: Sun Feb 24 23:36:09 2019 +0200 Avoid left-shifting a negative, for clang commit 84881d47e674b93b79f405326b3ae43af53fe611 Author: Maya Rashish <maya@NetBSD.org> Date: Sun Feb 24 21:30:43 2019 +0200 avoid conflict with netbsd bswap32 commit d9bd43728cb5cf161d8501be6d53dee50f094df0 Author: Maya Rashish <maya@NetBSD.org> Date: Sun Feb 24 21:30:30 2019 +0200 cast enum to appease clang commit a84ec26c89d08028800e74313ccbbf0a1a0753ed Author: Maya Rashish <maya@NetBSD.org> Date: Wed Feb 6 13:07:55 2019 +0200 Apply patches from pkgsrc mesa to avoid atexit on a library. This isn't safe to do on netbsd and results in segfaults on program exit. commit 335ea9c725374db31fe809a7d7f33ad8a83edd3e Author: Maya Rashish <maya@NetBSD.org> Date: Sat Jan 19 16:32:28 2019 +0200 Avoid left-shifting a negative (UB), appeases clang commit 452e5dc79ee89292fe771cf0e1066d1fad55adfa Author: Maya Rashish <maya@NetBSD.org> Date: Sat Jan 12 17:02:04 2019 +0200 radeon picture_type is h264 and the enums match, cast to avoid clang warning (we use -Werror) commit 61b4bc2f7ca8d78bd4092df76daeb27621d2ea7d Author: Maya Rashish <maya@NetBSD.org> Date: Fri Jan 11 19:57:34 2019 +0200 Avoid redefinition, for clang. commit c73fac417444cd79ee5a7a89b4a0fdf931e5122d Author: Maya Rashish <maya@NetBSD.org> Date: Sun Jan 6 19:52:12 2019 +0200 Fix some printf specifiers. XXX more upstreaming radeon_dma.c: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/68 commit 09341f929e9d3b03a3caacaa630521bc76680344 Author: Maya Rashish <maya@NetBSD.org> Date: Sat Feb 23 11:51:50 2019 +0200 |
| 01e04c3f |
10-Mar-2019 |
mrg <mrg@NetBSD.org> |
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. |
| ecefe170 |
15-Aug-2015 |
mlelstv <mlelstv@NetBSD.org> |
Use __attribute__((__destructor__)), not atexit, in shared objects. Recovered from our local changes to MesaLib7. |
| af69d88d |
18-Dec-2014 |
mrg <mrg@NetBSD.org> |
initial import of MesaLib-10.3.5 |