pkgsrc/graphics/MesaLib/options.mk

115 lines
2.8 KiB
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.79 2020/01/04 01:53:55 nia Exp $
Update to MesaLib-10.5.3. Apologies in advance for any fallout. I have tested this as extensively as I could in wip but the fact is we were 5 years and 50+ releases behind so there will undoubtably still be issues. Users of software rendering should see a nice performance boost with this package as it now comes with the llvmpipe software rasterizer. Users who currently enjoy working DRI1 rendering with X11_TYPE=modular should switch to x11/modular-xorg-server112 now as x11/modular-xorg-server will from now on only support DRI2 and up. New features in MesaLib 10.5: Mesa 10.5.0 implements the OpenGL 3.3 API GL_ARB_framebuffer_sRGB on freedreno GL_ARB_texture_rg on freedreno GL_EXT_packed_float on freedreno GL_EXT_polygon_offset_clamp on i965, nv50, nvc0, r600, radeonsi, llvmpipe GL_EXT_texture_shared_exponent on freedreno GL_EXT_texture_snorm on freedreno Changes in MesaLib 10.5: Removed support for GCC versions earlier than 4.2.0. New features in MesaLib 10.4: GL_ARB_conditional_render_inverted on nv50 GL_ARB_sample_shading on r600 GL_ARB_texture_view on nv50, nvc0 GL_ARB_clip_control on nv50, nvc0, r300, r600, radeonsi, llvmpipe, softpipe GL_KHR_context_flush_control on all drivers Changes in MesaLib 10.4: The environment variable GALLIUM_MSAA that forced a multisample GLX visual was removed. New features in MesaLib 10.3: GL_ARB_ES3_compatibility on nv50, nvc0, r600, radeonsi, softpipe, llvmpipe GL_ARB_clear_texture on i965 GL_ARB_compressed_texture_pixel_storage on all drivers GL_ARB_conditional_render_inverted on i965, nvc0, softpipe, llvmpipe GL_ARB_derivative_control on i965, nv50, nvc0, r600 GL_ARB_draw_indirect on nvc0, radeonsi GL_ARB_explicit_uniform_location (all drivers that support GLSL) GL_ARB_fragment_layer_viewport on nv50, nvc0, llvmpipe, r600 GL_ARB_gpu_shader5 on i965/gen7, nvc0 GL_ARB_multi_draw_indirect on nvc0, radeonsi GL_ARB_sample_shading on radeonsi GL_ARB_seamless_cubemap_per_texture on i965, llvmpipe, nvc0, r600, radeonsi, softpipe GL_ARB_stencil_texturing on nv50, nvc0, r600, and radeonsi GL_ARB_texture_barrier on nv50, nvc0, r300, r600, radeonsi GL_ARB_texture_compression_bptc on i965/gen7+, nvc0, r600/evergreen+, radeonsi GL_ARB_texture_cube_map_array on radeonsi GL_ARB_texture_gather on r600, radeonsi GL_ARB_texture_query_levels on nv50, nvc0, llvmpipe, r600, radeonsi, softpipe GL_ARB_texture_query_lod on r600, radeonsi GL_ARB_viewport_array on nvc0 GL_AMD_vertex_shader_viewport_index on i965/gen7+, r600 GL_OES_compressed_ETC1_RGB8_texture on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe GLX_MESA_query_renderer on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe A new software rasterizer driver (kms_swrast_dri.so) that works with DRM drivers that don't have a full-fledged GEM (such as qxl or simpledrm) Distribute the Khronos GL/glcorearb.h header file. Changes in MesaLib 10.3: Removed support for the GL_ATI_envmap_bumpmap extension The hacky --enable-32/64-bit is no longer available in configure. To build 32/64 bit mesa refer to the default method recommended by your distribution New features in MesaLib 10.2: GL_ARB_buffer_storage on i965, nv30, nv50, nvc0, r300, r600, and radeonsi GL_ARB_multi_bind on all drivers GL_ARB_sample_shading on nv50 (GT21x only), nvc0 GL_ARB_separate_shader_objects (desktop OpenGL) and GL_EXT_separate_shader_objects (OpenGL ES 2.0 and 3.0) on all drivers GL_ARB_stencil_texturing on i965/gen8+ GL_ARB_texture_cube_map_array on nv50 (GT21x only) GL_ARB_texture_gather on nv50 (GT21x only), nvc0 GL_ARB_texture_query_lod on nv50 (GT21x only), nvc0 GL_ARB_texture_view on i965/gen7 GL_ARB_vertex_type_10f_11f_11f_rev on nv50, nvc0, radeonsi GL_ARB_viewport_array on nv50, r600 GL_INTEL_performance_query on i965/gen5+ Changes in MesaLib 10.2: Renamed --with-llvm-shared-libs to --enable-llvm-shared-libs Split libxatracker.so into a standalone library which can be used with any gallium driver. New features in MesaLib 10.1: GL_ARB_draw_indirect on i965. GL_ARB_clear_buffer_object GL_ARB_viewport_array on i965. GL_ARB_map_buffer_alignment on all drivers that did not previously support it. GL_AMD_shader_trinary_minmax. GL_EXT_framebuffer_blit on r200 and radeon. Reduced memory usage for display lists. OpenGL 3.3 support on nv50, nvc0, r600 and radeonsi Changes in MesaLib 10.1: Removed support for the GL_MESA_texture_array extension. This extension enabled the use of texture array with fixed-function and assembly fragment shaders. No applications are known to use this extension. New features in MesaLib 10.0: GL_AMD_seamless_cubemap_per_texture on i965. GL_ARB_conservative_depth on i965. GL_ARB_texture_gather on i965. GL_ARB_texture_query_levels on i965. GL_ARB_texture_mirror_clamp_to_edge. GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, and GL_ARB_transform_feedback_instanced on i965/Gen7 (with appropriate kernel support). GL_ARB_sample_shading on i965. GL_ARB_shader_atomic_counters on i965. GL_ARB_vertex_attrib_binding GL_ARB_vertex_type_10f_11f_11f_rev on i965 and r600g GL_KHR_debug GLX_MESA_query_renderer Changes in MesaLib 10.0: Removed X.Org state tracker (unmaintained and broken) Removed the video-accel r300 targets Removed the video-accel softpipe targets New features in MesaLib 9.2: GL_ARB_shading_language_420pack in all drivers that support GLSL 1.30. GL_ARB_texture_buffer_range GL_ARB_texture_multisample GL_ARB_texture_storage_multisample GL_ARB_texture_query_lod GL_ARB_texture_storage on radeon, r200, and nouveau GL_EXT_discard_framebuffer in all OpenGL ES (all versions) drivers GL_EXT_framebuffer_multisample_blit_scaled on i965 Added new freedreno gallium driver OSMesa interface for gallium llvmpipe/softpipe drivers Gallium Heads-Up Display (HUD) feature for performance monitoring Added support for UVD (2.2 and 3.0) video decoding on r600g and radeonsi through VDPAU (requires Kernel 3.10 or later) Changes in MesaLib 9.2: Removed d3d1x state tracker (unused, unmaintained and broken) Removed GL_EXT_clip_volume_hint because no driver had enabled it since 2007. Removed GL_MESA_resize_buffers because it was only really implemented by the (unsupported) GDI driver. GL_EXT_separate_shader_objects has been removed from all Gallium drivers, because it disallows a critical GLSL shader optimization. GL_ARB_separate_shader_objects doesn't have this issue. i965 Gen6+ requires Kernel 3.6 or later. (92d2f5a) New features in MesaLib 9.1: GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES3_compatibility GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shading_language_packing GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_EXT_color_buffer_float GL_OES_depth_texture_cube_map OpenGL 3.1 core profile support on Radeon HD2000 up to HD6000 series Multisample anti-aliasing support on Radeon X1000 series OpenGL ES 3.0 support on Intel HD Graphics 2000, 2500, 3000, and 4000 Changes in MesaLib 9.1: Removed VAAPI state tracker (unmaintained and broken) Removed i965's broken hardware implementation of GL_NV_vertex_program Removed swrast support for GL_NV_vertex_program Removed swrast support for GL_NV_fragment_program Removed OpenVMS support (unmaintained and broken) Removed makedepend build dependency New features in MesaLib 9: Added new Gallium3D - nv30 driver Added new Gallium3D - radeonsi driver Added OpenCL state tracker Clover Completed VDPAU state tracker (video decoding support is currently limited to MPEG1 and MPEG2) GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_invalidate_subdata - Currently a "no-op" implementation. This extension is always enabled in all drivers. GL_ARB_shader_bit_encoding GL_ARB_texture_buffer_object GL_ARB_timer_query GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_uniform_buffer_object GL_EXT_unpack_subimage for ES 2.0 GL_EXT_read_format_bgra for ES 1.1 and 2.0 GL_EXT_texture_rg for ES 2.x GL_NV_read_buffer for ES 2.0 GLX_ARB_create_context_robustness EGL_KHR_create_context EGL_KHR_surfaceless_context - This replaces the EGL_KHR_surfaceless_{gles1,gles2,opengl} extensions that were never approved by Khronos. EGL_EXT_create_context_robustness Changes in Mesalib 9: The legacy/static Makefile system (ex: 'make linux-dri') has been removed. The two supported build methods are now autoconf/automake and SCons. Removed support for GL_ARB_shadow_ambient extension Removed Gallium3D - nvfx driver (use nv30 instead) libGLU has been moved into its own repository New features in MesaLib 8: GL_ARB_ES2_compatibility (r300g, r600g) GL_ARB_depth_buffer_float (r600g) GL_ARB_vertex_type_2_10_10_10_rev (r600g) GL_ARB_texture_storage (gallium drivers and swrast) GL_EXT_packed_float (i965) GL_EXT_texture_array (r600g, i965) GL_EXT_texture_shared_exponent (i965) GL_NV_fog_distance (all gallium drivers, nouveau classic) GL_NV_primitive_restart (r600g) GL_OES_EGL_image_external (gallium drivers) GL_OES_compressed_ETC1_RGB8_texture (softpipe, llvmpipe) ARB_texture_rgb10_a2ui (softpipe, r600g) Many updates to the VMware svga Gallium driver Changes in MesaLib 8: Removed all DRI drivers that did not support DRI2. Specifically, i810, mach64, mga, r128, savage, sis, tdfx, and unichrome were removed. Removed support for BeOS. Removed the obsolete (and unmaintained) Windows "gldirect" and "ICD" drivers. Removed the linux-fbdev software driver. Removed all remnants of paletted texture support. As required by desktop OpenGL, GL_COLOR_INDEX data can still be uploaded to a color (e.g., RGBA) texture. However, the data cannot be stored internally as color-index. Removed support for GL_APPLE_client_storage extension. Removed the classic Mesa r300 and r600 drivers, which are superseded by the gallium drivers for this hardware. Removed the dead Gallium i965, cell and failover drivers, which were either broken and with nobody in sight to fix the situation or deprecated.
2015-04-25 13:19:18 +02:00
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
.include "features.mk"
MesaLib: Update to 19.2.1 Bug fixes in 19.2.1: meson.build:1447:6: ERROR: Problem encountered: libdrm required for gallium video statetrackers when using x11 Mesa doesn't build with current Scons version (3.1.0) libXvMC-1.0.12 breaks mesa build Meson can't find 32-bit libXvMCW in non-standard path Mesa installs gl.pc and egl.pc even with libglvnd >= 1.2.0 Changes in 19.2.0: Adam Jackson (1): docs: Update bug report URLs for the gitlab migration Alex Smith (1): radv: Change memory type order for GPUs without dedicated VRAM Alyssa Rosenzweig (1): pan/midgard: Fix writeout combining Andres Gomez (1): docs: Add the maximum implemented Vulkan API version in 19.2 rel notes Andres Rodriguez (1): radv: additional query fixes Arcady Goldmints-Orlov (1): anv: fix descriptor limits on gen8 Bas Nieuwenhuizen (6): radv: Use correct vgpr_comp_cnt for VS if both prim_id and instance_id are needed. radv: Emit VGT_GS_ONCHIP_CNTL for tess on GFX10. radv: Disable NGG for geometry shaders. Revert "ac/nir: Lower large indirect variables to scratch" tu: Set up glsl types. radv: Add workaround for hang in The Surge 2. Caio Marcelo de Oliveira Filho (2): nir/lower_explicit_io: Handle 1 bit loads and stores glsl/nir: Avoid overflow when setting max_uniform_location Connor Abbott (1): radv: Call nir_propagate_invariant() Danylo Piliaiev (3): nir/loop_unroll: Prepare loop for unrolling in wrapper_unroll nir/loop_analyze: Treat do{}while(false) loops as 0 iterations tgsi_to_nir: Translate TGSI_INTERPOLATE_COLOR as INTERP_MODE_NONE Dave Airlie (2): virgl: fix format conversion for recent gallium changes. gallivm: fix atomic compare-and-swap Dave Stevenson (1): broadcom/v3d: Allow importing linear BOs with arbitrary offset/stride. Dylan Baker (9): bump version to 19.2-rc2 nir: Add is_not_negative helper function Bump version for rc3 meson: don't generate file into subdirs add patches to be ignored Bump version for 19.2.0-rc4 cherry-ignore: Add patches rehardcode from origin/master to upstream/master bin/get-pick-list: use --oneline=pretty instead of --oneline Emil Velikov (1): Update version to 19.2.0-rc1 Eric Engestrom (14): ttn: fix 64-bit shift on 32-bit `1` egl: fix deadlock in malloc error path util/os_file: fix double-close() anv: fix format string in error message freedreno/drm-shim: fix mem leak nir: fix memleak in error path anv: add support for driconf wsi: add minImageCount override anv: add support for vk_x11_override_min_image_count amd: move adaptive sync to performance section, as it is defined in xmlpool radv: add support for vk_x11_override_min_image_count drirc: override minImageCount=2 for gfxbench gl: drop incorrect pkg-config file for glvnd meson: re-add incorrect pkg-config files with GLVND for backward compatibility Erik Faye-Lund (2): gallium/auxiliary/indices: consistently apply start only to input util: fix SSE-version needed for double opcodes Haihao Xiang (1): i965: support AYUV/XYUV for external import only Hal Gentz (2): glx: Fix SEGV due to dereferencing a NULL ptr from XCB-GLX. gallium/osmesa: Fix the inability to set no context as current. Iago Toral Quiroga (1): v3d: make sure we have enough space in the CL for the primitive counts packet Ian Romanick (8): nir/algrbraic: Don't optimize open-coded bitfield reverse when lowering is enabled intel/compiler: Request bitfield_reverse lowering on pre-Gen7 hardware nir/algebraic: Mark some value range analysis-based optimizations imprecise nir/range-analysis: Adjust result range of exp2 to account for flush-to-zero nir/range-analysis: Adjust result range of multiplication to account for flush-to-zero nir/range-analysis: Fix incorrect fadd range result for (ne_zero, ne_zero) nir/range-analysis: Handle constants in nir_op_mov just like nir_op_bcsel nir/algebraic: Do not apply late DPH optimization in vertex processing stages Ilia Mirkin (1): gallium/vl: use compute preference for all multimedia, not just blit Jason Ekstrand (9): anv: Bump maxComputeWorkgroupSize nir: Handle complex derefs in nir_split_array_vars nir: Don't infinitely recurse in lower_ssa_defs_to_regs_block nir: Add a block_is_unreachable helper nir/repair_ssa: Repair dominance for unreachable blocks nir/repair_ssa: Insert deref casts when needed nir/dead_cf: Repair SSA if the pass makes progress intel/fs: Handle UNDEF in split_virtual_grfs nir/repair_ssa: Replace the unreachable check with the phi builder Jonathan Marek (1): freedreno/a2xx: ir2: fix lowering of instructions after float lowering Jose Maria Casanova Crespo (1): mesa: recover target_check before get_current_tex_objects Juan A. Suarez Romero (1): bin/get-pick-list.sh: sha1 commits can be smaller than 8 chars Kenneth Graunke (20): gallium/ddebug: Wrap resource_get_param if available gallium/trace: Wrap resource_get_param if available gallium/rbug: Wrap resource_get_param if available gallium/noop: Implement resource_get_param iris: Replace devinfo->gen with GEN_GEN iris: Fix broken aux.possible/sampler_usages bitmask handling iris: Update fast clear colors on Gen9 with direct immediate writes. iris: Drop copy format hacks from copy region based transfer path. iris: Avoid unnecessary resolves on transfer maps iris: Fix large timeout handling in rel2abs() isl: Drop UnormPathInColorPipe for buffer surfaces. isl: Don't set UnormPathInColorPipe for integer surfaces. util: Add a _mesa_i64roundevenf() helper. mesa: Fix _mesa_float_to_unorm() on 32-bit systems. iris: Fix partial fast clear checks to account for miplevel. iris: Report correct number of planes for planar images iris: Fix constant buffer sizes for non-UBOs gallium: Fix util_format_get_depth_only iris: Initialize ice->state.prim_mode to an invalid value intel: Increase Gen11 compute shader scratch IDs to 64. Lepton Wu (1): virgl: Fix pipe_resource leaks under multi-sample. Lionel Landwerlin (9): util/timespec: use unsigned 64 bit integers for nsec values util: fix compilation on macos egl: fix platform selection vulkan/overlay: bounce image back to present layout radv: store engine name driconfig: add a new engine name/version parameter vulkan: add vk_x11_strict_image_count option util/xmlconfig: fix regexp compile failure check drirc: include unreal engine version 0 to 23 Marek Olšák (23): radeonsi/gfx10: fix the legacy pipeline by storing as_ngg in the shader cache radeonsi: move some global shader cache flags to per-binary flags radeonsi/gfx10: fix tessellation for the legacy pipeline radeonsi/gfx10: fix the PRIMITIVES_GENERATED query if using legacy streamout radeonsi/gfx10: create the GS copy shader if using legacy streamout radeonsi/gfx10: add as_ngg variant for VS as ES to select Wave32/64 radeonsi/gfx10: fix InstanceID for legacy VS+GS radeonsi/gfx10: don't initialize VGT_INSTANCE_STEP_RATE_0 radeonsi/gfx10: always use the legacy pipeline for streamout radeonsi/gfx10: finish up Navi14, add PCI ID radeonsi/gfx10: add AMD_DEBUG=nongg winsys/amdgpu+radeon: process AMD_DEBUG in addition to R600_DEBUG radeonsi: add PKT3_CONTEXT_REG_RMW radeonsi/gfx10: remove incorrect ngg/pos_writes_edgeflag variables radeonsi/gfx10: set PA_CL_VS_OUT_CNTL with CONTEXT_REG_RMW to fix edge flags radeonsi: consolidate determining VGPR_COMP_CNT for API VS radeonsi: unbind blend/DSA/rasterizer state correctly in delete functions radeonsi: fix scratch buffer WAVESIZE setting leading to corruption radeonsi/gfx10: don't call gfx10_destroy_query with compute-only contexts radeonsi/gfx10: fix wave occupancy computations radeonsi: add Navi12 PCI ID amd: add more PCI IDs for Navi14 ac/addrlib: fix chip identification for Vega10, Arcturus, Raven2, Renoir Mauro Rossi (2): android: mesa: revert "Enable asm unconditionally" android: anv: libmesa_vulkan_common: add libmesa_util static dependency Paulo Zanoni (2): intel/fs: grab fail_msg from v32 instead of v16 when v32->run_cs fails intel/fs: fix SHADER_OPCODE_CLUSTER_BROADCAST for SIMD32 Pierre-Eric Pelloux-Prayer (1): glsl: replace 'x + (-x)' with constant 0 Rafael Antognolli (1): anv: Only re-emit non-dynamic state that has changed. Rhys Perry (1): radv: always emit a position export in gs copy shaders Samuel Iglesias Gonsálvez (1): intel/nir: do not apply the fsin and fcos trig workarounds for consts Samuel Pitoiset (11): radv: allow to enable VK_AMD_shader_ballot only on GFX8+ radv: add a new debug option called RADV_DEBUG=noshaderballot radv: force enable VK_AMD_shader_ballot for Wolfenstein Youngblood ac: fix exclusive scans on GFX8-GFX9 radv/gfx10: don't initialize VGT_INSTANCE_STEP_RATE_0 radv/gfx10: do not use NGG with NAVI14 radv: fix getting the index type size for uint8_t nir: do not assume that the result of fexp2(a) is always an integral radv: fix allocating number of user sgprs if streamout is used radv: fix loading 64-bit GS inputs radv/gfx10: fix VK_KHR_pipeline_executable_properties with NGG GS Sergii Romantsov (2): intel/dri: finish proper glthread nir/large_constants: more careful data copying Tapani Pälli (5): util: fix os_create_anonymous_file on android iris/android: fix build and link with libmesa_intel_perf egl: reset blob cache set/get functions on terminate iris: close screen fd on iris_destroy_screen egl: check for NULL value like eglGetSyncAttribKHR does Thong Thai (1): Revert "radeonsi: don't emit PKT3_CONTEXT_CONTROL on amdgpu" Timur Kristóf (1): st/nine: Properly initialize GLSL types for NIR shaders. Vinson Lee (2): swr: Fix build with llvm-9.0 again. travis: Fail build if any command in if statement fails.
2019-10-18 11:57:07 +02:00
PKG_SUPPORTED_OPTIONS+= llvm vulkan x11
.if ${MESALIB_SUPPORTS_DRI} == "yes"
PKG_SUPPORTED_OPTIONS+= wayland
. include "../../devel/wayland/platform.mk"
. if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
PKG_SUGGESTED_OPTIONS+= wayland
. endif
.endif
MesaLib: Update to 19.1.4 Upstream has replaced their autotools-based build system with Meson. Thanks to fox@ for testing on Linux. New features: * 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 * 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.
2019-08-22 19:24:01 +02:00
PKG_SUGGESTED_OPTIONS+= x11
# The LLVM option enables JIT accelerated software rendering and is also
# required to support the latest RADEON GPUs.
#
# Enable it by default on platforms where such GPUs might be encountered or
# LLVM-accelerated software rendering might be useful.
.if ${MESALIB_SUPPORTS_DRI} == "yes" && \
${OPSYS} != "SunOS" && \
(${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "x86_64" || \
${MACHINE_ARCH} == "aarch64")
PKG_SUGGESTED_OPTIONS+= llvm
.endif
.include "../../mk/bsd.options.mk"
Update to MesaLib-10.5.3. Apologies in advance for any fallout. I have tested this as extensively as I could in wip but the fact is we were 5 years and 50+ releases behind so there will undoubtably still be issues. Users of software rendering should see a nice performance boost with this package as it now comes with the llvmpipe software rasterizer. Users who currently enjoy working DRI1 rendering with X11_TYPE=modular should switch to x11/modular-xorg-server112 now as x11/modular-xorg-server will from now on only support DRI2 and up. New features in MesaLib 10.5: Mesa 10.5.0 implements the OpenGL 3.3 API GL_ARB_framebuffer_sRGB on freedreno GL_ARB_texture_rg on freedreno GL_EXT_packed_float on freedreno GL_EXT_polygon_offset_clamp on i965, nv50, nvc0, r600, radeonsi, llvmpipe GL_EXT_texture_shared_exponent on freedreno GL_EXT_texture_snorm on freedreno Changes in MesaLib 10.5: Removed support for GCC versions earlier than 4.2.0. New features in MesaLib 10.4: GL_ARB_conditional_render_inverted on nv50 GL_ARB_sample_shading on r600 GL_ARB_texture_view on nv50, nvc0 GL_ARB_clip_control on nv50, nvc0, r300, r600, radeonsi, llvmpipe, softpipe GL_KHR_context_flush_control on all drivers Changes in MesaLib 10.4: The environment variable GALLIUM_MSAA that forced a multisample GLX visual was removed. New features in MesaLib 10.3: GL_ARB_ES3_compatibility on nv50, nvc0, r600, radeonsi, softpipe, llvmpipe GL_ARB_clear_texture on i965 GL_ARB_compressed_texture_pixel_storage on all drivers GL_ARB_conditional_render_inverted on i965, nvc0, softpipe, llvmpipe GL_ARB_derivative_control on i965, nv50, nvc0, r600 GL_ARB_draw_indirect on nvc0, radeonsi GL_ARB_explicit_uniform_location (all drivers that support GLSL) GL_ARB_fragment_layer_viewport on nv50, nvc0, llvmpipe, r600 GL_ARB_gpu_shader5 on i965/gen7, nvc0 GL_ARB_multi_draw_indirect on nvc0, radeonsi GL_ARB_sample_shading on radeonsi GL_ARB_seamless_cubemap_per_texture on i965, llvmpipe, nvc0, r600, radeonsi, softpipe GL_ARB_stencil_texturing on nv50, nvc0, r600, and radeonsi GL_ARB_texture_barrier on nv50, nvc0, r300, r600, radeonsi GL_ARB_texture_compression_bptc on i965/gen7+, nvc0, r600/evergreen+, radeonsi GL_ARB_texture_cube_map_array on radeonsi GL_ARB_texture_gather on r600, radeonsi GL_ARB_texture_query_levels on nv50, nvc0, llvmpipe, r600, radeonsi, softpipe GL_ARB_texture_query_lod on r600, radeonsi GL_ARB_viewport_array on nvc0 GL_AMD_vertex_shader_viewport_index on i965/gen7+, r600 GL_OES_compressed_ETC1_RGB8_texture on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe GLX_MESA_query_renderer on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe A new software rasterizer driver (kms_swrast_dri.so) that works with DRM drivers that don't have a full-fledged GEM (such as qxl or simpledrm) Distribute the Khronos GL/glcorearb.h header file. Changes in MesaLib 10.3: Removed support for the GL_ATI_envmap_bumpmap extension The hacky --enable-32/64-bit is no longer available in configure. To build 32/64 bit mesa refer to the default method recommended by your distribution New features in MesaLib 10.2: GL_ARB_buffer_storage on i965, nv30, nv50, nvc0, r300, r600, and radeonsi GL_ARB_multi_bind on all drivers GL_ARB_sample_shading on nv50 (GT21x only), nvc0 GL_ARB_separate_shader_objects (desktop OpenGL) and GL_EXT_separate_shader_objects (OpenGL ES 2.0 and 3.0) on all drivers GL_ARB_stencil_texturing on i965/gen8+ GL_ARB_texture_cube_map_array on nv50 (GT21x only) GL_ARB_texture_gather on nv50 (GT21x only), nvc0 GL_ARB_texture_query_lod on nv50 (GT21x only), nvc0 GL_ARB_texture_view on i965/gen7 GL_ARB_vertex_type_10f_11f_11f_rev on nv50, nvc0, radeonsi GL_ARB_viewport_array on nv50, r600 GL_INTEL_performance_query on i965/gen5+ Changes in MesaLib 10.2: Renamed --with-llvm-shared-libs to --enable-llvm-shared-libs Split libxatracker.so into a standalone library which can be used with any gallium driver. New features in MesaLib 10.1: GL_ARB_draw_indirect on i965. GL_ARB_clear_buffer_object GL_ARB_viewport_array on i965. GL_ARB_map_buffer_alignment on all drivers that did not previously support it. GL_AMD_shader_trinary_minmax. GL_EXT_framebuffer_blit on r200 and radeon. Reduced memory usage for display lists. OpenGL 3.3 support on nv50, nvc0, r600 and radeonsi Changes in MesaLib 10.1: Removed support for the GL_MESA_texture_array extension. This extension enabled the use of texture array with fixed-function and assembly fragment shaders. No applications are known to use this extension. New features in MesaLib 10.0: GL_AMD_seamless_cubemap_per_texture on i965. GL_ARB_conservative_depth on i965. GL_ARB_texture_gather on i965. GL_ARB_texture_query_levels on i965. GL_ARB_texture_mirror_clamp_to_edge. GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, and GL_ARB_transform_feedback_instanced on i965/Gen7 (with appropriate kernel support). GL_ARB_sample_shading on i965. GL_ARB_shader_atomic_counters on i965. GL_ARB_vertex_attrib_binding GL_ARB_vertex_type_10f_11f_11f_rev on i965 and r600g GL_KHR_debug GLX_MESA_query_renderer Changes in MesaLib 10.0: Removed X.Org state tracker (unmaintained and broken) Removed the video-accel r300 targets Removed the video-accel softpipe targets New features in MesaLib 9.2: GL_ARB_shading_language_420pack in all drivers that support GLSL 1.30. GL_ARB_texture_buffer_range GL_ARB_texture_multisample GL_ARB_texture_storage_multisample GL_ARB_texture_query_lod GL_ARB_texture_storage on radeon, r200, and nouveau GL_EXT_discard_framebuffer in all OpenGL ES (all versions) drivers GL_EXT_framebuffer_multisample_blit_scaled on i965 Added new freedreno gallium driver OSMesa interface for gallium llvmpipe/softpipe drivers Gallium Heads-Up Display (HUD) feature for performance monitoring Added support for UVD (2.2 and 3.0) video decoding on r600g and radeonsi through VDPAU (requires Kernel 3.10 or later) Changes in MesaLib 9.2: Removed d3d1x state tracker (unused, unmaintained and broken) Removed GL_EXT_clip_volume_hint because no driver had enabled it since 2007. Removed GL_MESA_resize_buffers because it was only really implemented by the (unsupported) GDI driver. GL_EXT_separate_shader_objects has been removed from all Gallium drivers, because it disallows a critical GLSL shader optimization. GL_ARB_separate_shader_objects doesn't have this issue. i965 Gen6+ requires Kernel 3.6 or later. (92d2f5a) New features in MesaLib 9.1: GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES3_compatibility GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shading_language_packing GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_EXT_color_buffer_float GL_OES_depth_texture_cube_map OpenGL 3.1 core profile support on Radeon HD2000 up to HD6000 series Multisample anti-aliasing support on Radeon X1000 series OpenGL ES 3.0 support on Intel HD Graphics 2000, 2500, 3000, and 4000 Changes in MesaLib 9.1: Removed VAAPI state tracker (unmaintained and broken) Removed i965's broken hardware implementation of GL_NV_vertex_program Removed swrast support for GL_NV_vertex_program Removed swrast support for GL_NV_fragment_program Removed OpenVMS support (unmaintained and broken) Removed makedepend build dependency New features in MesaLib 9: Added new Gallium3D - nv30 driver Added new Gallium3D - radeonsi driver Added OpenCL state tracker Clover Completed VDPAU state tracker (video decoding support is currently limited to MPEG1 and MPEG2) GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_invalidate_subdata - Currently a "no-op" implementation. This extension is always enabled in all drivers. GL_ARB_shader_bit_encoding GL_ARB_texture_buffer_object GL_ARB_timer_query GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_uniform_buffer_object GL_EXT_unpack_subimage for ES 2.0 GL_EXT_read_format_bgra for ES 1.1 and 2.0 GL_EXT_texture_rg for ES 2.x GL_NV_read_buffer for ES 2.0 GLX_ARB_create_context_robustness EGL_KHR_create_context EGL_KHR_surfaceless_context - This replaces the EGL_KHR_surfaceless_{gles1,gles2,opengl} extensions that were never approved by Khronos. EGL_EXT_create_context_robustness Changes in Mesalib 9: The legacy/static Makefile system (ex: 'make linux-dri') has been removed. The two supported build methods are now autoconf/automake and SCons. Removed support for GL_ARB_shadow_ambient extension Removed Gallium3D - nvfx driver (use nv30 instead) libGLU has been moved into its own repository New features in MesaLib 8: GL_ARB_ES2_compatibility (r300g, r600g) GL_ARB_depth_buffer_float (r600g) GL_ARB_vertex_type_2_10_10_10_rev (r600g) GL_ARB_texture_storage (gallium drivers and swrast) GL_EXT_packed_float (i965) GL_EXT_texture_array (r600g, i965) GL_EXT_texture_shared_exponent (i965) GL_NV_fog_distance (all gallium drivers, nouveau classic) GL_NV_primitive_restart (r600g) GL_OES_EGL_image_external (gallium drivers) GL_OES_compressed_ETC1_RGB8_texture (softpipe, llvmpipe) ARB_texture_rgb10_a2ui (softpipe, r600g) Many updates to the VMware svga Gallium driver Changes in MesaLib 8: Removed all DRI drivers that did not support DRI2. Specifically, i810, mach64, mga, r128, savage, sis, tdfx, and unichrome were removed. Removed support for BeOS. Removed the obsolete (and unmaintained) Windows "gldirect" and "ICD" drivers. Removed the linux-fbdev software driver. Removed all remnants of paletted texture support. As required by desktop OpenGL, GL_COLOR_INDEX data can still be uploaded to a color (e.g., RGBA) texture. However, the data cannot be stored internally as color-index. Removed support for GL_APPLE_client_storage extension. Removed the classic Mesa r300 and r600 drivers, which are superseded by the gallium drivers for this hardware. Removed the dead Gallium i965, cell and failover drivers, which were either broken and with nobody in sight to fix the situation or deprecated.
2015-04-25 13:19:18 +02:00
# Gallium drivers requiring LLVM
PLIST_VARS+= r600 radeonsi
Update to MesaLib-10.5.3. Apologies in advance for any fallout. I have tested this as extensively as I could in wip but the fact is we were 5 years and 50+ releases behind so there will undoubtably still be issues. Users of software rendering should see a nice performance boost with this package as it now comes with the llvmpipe software rasterizer. Users who currently enjoy working DRI1 rendering with X11_TYPE=modular should switch to x11/modular-xorg-server112 now as x11/modular-xorg-server will from now on only support DRI2 and up. New features in MesaLib 10.5: Mesa 10.5.0 implements the OpenGL 3.3 API GL_ARB_framebuffer_sRGB on freedreno GL_ARB_texture_rg on freedreno GL_EXT_packed_float on freedreno GL_EXT_polygon_offset_clamp on i965, nv50, nvc0, r600, radeonsi, llvmpipe GL_EXT_texture_shared_exponent on freedreno GL_EXT_texture_snorm on freedreno Changes in MesaLib 10.5: Removed support for GCC versions earlier than 4.2.0. New features in MesaLib 10.4: GL_ARB_conditional_render_inverted on nv50 GL_ARB_sample_shading on r600 GL_ARB_texture_view on nv50, nvc0 GL_ARB_clip_control on nv50, nvc0, r300, r600, radeonsi, llvmpipe, softpipe GL_KHR_context_flush_control on all drivers Changes in MesaLib 10.4: The environment variable GALLIUM_MSAA that forced a multisample GLX visual was removed. New features in MesaLib 10.3: GL_ARB_ES3_compatibility on nv50, nvc0, r600, radeonsi, softpipe, llvmpipe GL_ARB_clear_texture on i965 GL_ARB_compressed_texture_pixel_storage on all drivers GL_ARB_conditional_render_inverted on i965, nvc0, softpipe, llvmpipe GL_ARB_derivative_control on i965, nv50, nvc0, r600 GL_ARB_draw_indirect on nvc0, radeonsi GL_ARB_explicit_uniform_location (all drivers that support GLSL) GL_ARB_fragment_layer_viewport on nv50, nvc0, llvmpipe, r600 GL_ARB_gpu_shader5 on i965/gen7, nvc0 GL_ARB_multi_draw_indirect on nvc0, radeonsi GL_ARB_sample_shading on radeonsi GL_ARB_seamless_cubemap_per_texture on i965, llvmpipe, nvc0, r600, radeonsi, softpipe GL_ARB_stencil_texturing on nv50, nvc0, r600, and radeonsi GL_ARB_texture_barrier on nv50, nvc0, r300, r600, radeonsi GL_ARB_texture_compression_bptc on i965/gen7+, nvc0, r600/evergreen+, radeonsi GL_ARB_texture_cube_map_array on radeonsi GL_ARB_texture_gather on r600, radeonsi GL_ARB_texture_query_levels on nv50, nvc0, llvmpipe, r600, radeonsi, softpipe GL_ARB_texture_query_lod on r600, radeonsi GL_ARB_viewport_array on nvc0 GL_AMD_vertex_shader_viewport_index on i965/gen7+, r600 GL_OES_compressed_ETC1_RGB8_texture on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe GLX_MESA_query_renderer on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe A new software rasterizer driver (kms_swrast_dri.so) that works with DRM drivers that don't have a full-fledged GEM (such as qxl or simpledrm) Distribute the Khronos GL/glcorearb.h header file. Changes in MesaLib 10.3: Removed support for the GL_ATI_envmap_bumpmap extension The hacky --enable-32/64-bit is no longer available in configure. To build 32/64 bit mesa refer to the default method recommended by your distribution New features in MesaLib 10.2: GL_ARB_buffer_storage on i965, nv30, nv50, nvc0, r300, r600, and radeonsi GL_ARB_multi_bind on all drivers GL_ARB_sample_shading on nv50 (GT21x only), nvc0 GL_ARB_separate_shader_objects (desktop OpenGL) and GL_EXT_separate_shader_objects (OpenGL ES 2.0 and 3.0) on all drivers GL_ARB_stencil_texturing on i965/gen8+ GL_ARB_texture_cube_map_array on nv50 (GT21x only) GL_ARB_texture_gather on nv50 (GT21x only), nvc0 GL_ARB_texture_query_lod on nv50 (GT21x only), nvc0 GL_ARB_texture_view on i965/gen7 GL_ARB_vertex_type_10f_11f_11f_rev on nv50, nvc0, radeonsi GL_ARB_viewport_array on nv50, r600 GL_INTEL_performance_query on i965/gen5+ Changes in MesaLib 10.2: Renamed --with-llvm-shared-libs to --enable-llvm-shared-libs Split libxatracker.so into a standalone library which can be used with any gallium driver. New features in MesaLib 10.1: GL_ARB_draw_indirect on i965. GL_ARB_clear_buffer_object GL_ARB_viewport_array on i965. GL_ARB_map_buffer_alignment on all drivers that did not previously support it. GL_AMD_shader_trinary_minmax. GL_EXT_framebuffer_blit on r200 and radeon. Reduced memory usage for display lists. OpenGL 3.3 support on nv50, nvc0, r600 and radeonsi Changes in MesaLib 10.1: Removed support for the GL_MESA_texture_array extension. This extension enabled the use of texture array with fixed-function and assembly fragment shaders. No applications are known to use this extension. New features in MesaLib 10.0: GL_AMD_seamless_cubemap_per_texture on i965. GL_ARB_conservative_depth on i965. GL_ARB_texture_gather on i965. GL_ARB_texture_query_levels on i965. GL_ARB_texture_mirror_clamp_to_edge. GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, and GL_ARB_transform_feedback_instanced on i965/Gen7 (with appropriate kernel support). GL_ARB_sample_shading on i965. GL_ARB_shader_atomic_counters on i965. GL_ARB_vertex_attrib_binding GL_ARB_vertex_type_10f_11f_11f_rev on i965 and r600g GL_KHR_debug GLX_MESA_query_renderer Changes in MesaLib 10.0: Removed X.Org state tracker (unmaintained and broken) Removed the video-accel r300 targets Removed the video-accel softpipe targets New features in MesaLib 9.2: GL_ARB_shading_language_420pack in all drivers that support GLSL 1.30. GL_ARB_texture_buffer_range GL_ARB_texture_multisample GL_ARB_texture_storage_multisample GL_ARB_texture_query_lod GL_ARB_texture_storage on radeon, r200, and nouveau GL_EXT_discard_framebuffer in all OpenGL ES (all versions) drivers GL_EXT_framebuffer_multisample_blit_scaled on i965 Added new freedreno gallium driver OSMesa interface for gallium llvmpipe/softpipe drivers Gallium Heads-Up Display (HUD) feature for performance monitoring Added support for UVD (2.2 and 3.0) video decoding on r600g and radeonsi through VDPAU (requires Kernel 3.10 or later) Changes in MesaLib 9.2: Removed d3d1x state tracker (unused, unmaintained and broken) Removed GL_EXT_clip_volume_hint because no driver had enabled it since 2007. Removed GL_MESA_resize_buffers because it was only really implemented by the (unsupported) GDI driver. GL_EXT_separate_shader_objects has been removed from all Gallium drivers, because it disallows a critical GLSL shader optimization. GL_ARB_separate_shader_objects doesn't have this issue. i965 Gen6+ requires Kernel 3.6 or later. (92d2f5a) New features in MesaLib 9.1: GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES3_compatibility GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shading_language_packing GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_EXT_color_buffer_float GL_OES_depth_texture_cube_map OpenGL 3.1 core profile support on Radeon HD2000 up to HD6000 series Multisample anti-aliasing support on Radeon X1000 series OpenGL ES 3.0 support on Intel HD Graphics 2000, 2500, 3000, and 4000 Changes in MesaLib 9.1: Removed VAAPI state tracker (unmaintained and broken) Removed i965's broken hardware implementation of GL_NV_vertex_program Removed swrast support for GL_NV_vertex_program Removed swrast support for GL_NV_fragment_program Removed OpenVMS support (unmaintained and broken) Removed makedepend build dependency New features in MesaLib 9: Added new Gallium3D - nv30 driver Added new Gallium3D - radeonsi driver Added OpenCL state tracker Clover Completed VDPAU state tracker (video decoding support is currently limited to MPEG1 and MPEG2) GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_invalidate_subdata - Currently a "no-op" implementation. This extension is always enabled in all drivers. GL_ARB_shader_bit_encoding GL_ARB_texture_buffer_object GL_ARB_timer_query GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_uniform_buffer_object GL_EXT_unpack_subimage for ES 2.0 GL_EXT_read_format_bgra for ES 1.1 and 2.0 GL_EXT_texture_rg for ES 2.x GL_NV_read_buffer for ES 2.0 GLX_ARB_create_context_robustness EGL_KHR_create_context EGL_KHR_surfaceless_context - This replaces the EGL_KHR_surfaceless_{gles1,gles2,opengl} extensions that were never approved by Khronos. EGL_EXT_create_context_robustness Changes in Mesalib 9: The legacy/static Makefile system (ex: 'make linux-dri') has been removed. The two supported build methods are now autoconf/automake and SCons. Removed support for GL_ARB_shadow_ambient extension Removed Gallium3D - nvfx driver (use nv30 instead) libGLU has been moved into its own repository New features in MesaLib 8: GL_ARB_ES2_compatibility (r300g, r600g) GL_ARB_depth_buffer_float (r600g) GL_ARB_vertex_type_2_10_10_10_rev (r600g) GL_ARB_texture_storage (gallium drivers and swrast) GL_EXT_packed_float (i965) GL_EXT_texture_array (r600g, i965) GL_EXT_texture_shared_exponent (i965) GL_NV_fog_distance (all gallium drivers, nouveau classic) GL_NV_primitive_restart (r600g) GL_OES_EGL_image_external (gallium drivers) GL_OES_compressed_ETC1_RGB8_texture (softpipe, llvmpipe) ARB_texture_rgb10_a2ui (softpipe, r600g) Many updates to the VMware svga Gallium driver Changes in MesaLib 8: Removed all DRI drivers that did not support DRI2. Specifically, i810, mach64, mga, r128, savage, sis, tdfx, and unichrome were removed. Removed support for BeOS. Removed the obsolete (and unmaintained) Windows "gldirect" and "ICD" drivers. Removed the linux-fbdev software driver. Removed all remnants of paletted texture support. As required by desktop OpenGL, GL_COLOR_INDEX data can still be uploaded to a color (e.g., RGBA) texture. However, the data cannot be stored internally as color-index. Removed support for GL_APPLE_client_storage extension. Removed the classic Mesa r300 and r600 drivers, which are superseded by the gallium drivers for this hardware. Removed the dead Gallium i965, cell and failover drivers, which were either broken and with nobody in sight to fix the situation or deprecated.
2015-04-25 13:19:18 +02:00
# Windowing systems
PLIST_VARS+= wayland glx
# Misc. features
PLIST_VARS+= vdpau
Update to MesaLib-10.5.3. Apologies in advance for any fallout. I have tested this as extensively as I could in wip but the fact is we were 5 years and 50+ releases behind so there will undoubtably still be issues. Users of software rendering should see a nice performance boost with this package as it now comes with the llvmpipe software rasterizer. Users who currently enjoy working DRI1 rendering with X11_TYPE=modular should switch to x11/modular-xorg-server112 now as x11/modular-xorg-server will from now on only support DRI2 and up. New features in MesaLib 10.5: Mesa 10.5.0 implements the OpenGL 3.3 API GL_ARB_framebuffer_sRGB on freedreno GL_ARB_texture_rg on freedreno GL_EXT_packed_float on freedreno GL_EXT_polygon_offset_clamp on i965, nv50, nvc0, r600, radeonsi, llvmpipe GL_EXT_texture_shared_exponent on freedreno GL_EXT_texture_snorm on freedreno Changes in MesaLib 10.5: Removed support for GCC versions earlier than 4.2.0. New features in MesaLib 10.4: GL_ARB_conditional_render_inverted on nv50 GL_ARB_sample_shading on r600 GL_ARB_texture_view on nv50, nvc0 GL_ARB_clip_control on nv50, nvc0, r300, r600, radeonsi, llvmpipe, softpipe GL_KHR_context_flush_control on all drivers Changes in MesaLib 10.4: The environment variable GALLIUM_MSAA that forced a multisample GLX visual was removed. New features in MesaLib 10.3: GL_ARB_ES3_compatibility on nv50, nvc0, r600, radeonsi, softpipe, llvmpipe GL_ARB_clear_texture on i965 GL_ARB_compressed_texture_pixel_storage on all drivers GL_ARB_conditional_render_inverted on i965, nvc0, softpipe, llvmpipe GL_ARB_derivative_control on i965, nv50, nvc0, r600 GL_ARB_draw_indirect on nvc0, radeonsi GL_ARB_explicit_uniform_location (all drivers that support GLSL) GL_ARB_fragment_layer_viewport on nv50, nvc0, llvmpipe, r600 GL_ARB_gpu_shader5 on i965/gen7, nvc0 GL_ARB_multi_draw_indirect on nvc0, radeonsi GL_ARB_sample_shading on radeonsi GL_ARB_seamless_cubemap_per_texture on i965, llvmpipe, nvc0, r600, radeonsi, softpipe GL_ARB_stencil_texturing on nv50, nvc0, r600, and radeonsi GL_ARB_texture_barrier on nv50, nvc0, r300, r600, radeonsi GL_ARB_texture_compression_bptc on i965/gen7+, nvc0, r600/evergreen+, radeonsi GL_ARB_texture_cube_map_array on radeonsi GL_ARB_texture_gather on r600, radeonsi GL_ARB_texture_query_levels on nv50, nvc0, llvmpipe, r600, radeonsi, softpipe GL_ARB_texture_query_lod on r600, radeonsi GL_ARB_viewport_array on nvc0 GL_AMD_vertex_shader_viewport_index on i965/gen7+, r600 GL_OES_compressed_ETC1_RGB8_texture on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe GLX_MESA_query_renderer on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe A new software rasterizer driver (kms_swrast_dri.so) that works with DRM drivers that don't have a full-fledged GEM (such as qxl or simpledrm) Distribute the Khronos GL/glcorearb.h header file. Changes in MesaLib 10.3: Removed support for the GL_ATI_envmap_bumpmap extension The hacky --enable-32/64-bit is no longer available in configure. To build 32/64 bit mesa refer to the default method recommended by your distribution New features in MesaLib 10.2: GL_ARB_buffer_storage on i965, nv30, nv50, nvc0, r300, r600, and radeonsi GL_ARB_multi_bind on all drivers GL_ARB_sample_shading on nv50 (GT21x only), nvc0 GL_ARB_separate_shader_objects (desktop OpenGL) and GL_EXT_separate_shader_objects (OpenGL ES 2.0 and 3.0) on all drivers GL_ARB_stencil_texturing on i965/gen8+ GL_ARB_texture_cube_map_array on nv50 (GT21x only) GL_ARB_texture_gather on nv50 (GT21x only), nvc0 GL_ARB_texture_query_lod on nv50 (GT21x only), nvc0 GL_ARB_texture_view on i965/gen7 GL_ARB_vertex_type_10f_11f_11f_rev on nv50, nvc0, radeonsi GL_ARB_viewport_array on nv50, r600 GL_INTEL_performance_query on i965/gen5+ Changes in MesaLib 10.2: Renamed --with-llvm-shared-libs to --enable-llvm-shared-libs Split libxatracker.so into a standalone library which can be used with any gallium driver. New features in MesaLib 10.1: GL_ARB_draw_indirect on i965. GL_ARB_clear_buffer_object GL_ARB_viewport_array on i965. GL_ARB_map_buffer_alignment on all drivers that did not previously support it. GL_AMD_shader_trinary_minmax. GL_EXT_framebuffer_blit on r200 and radeon. Reduced memory usage for display lists. OpenGL 3.3 support on nv50, nvc0, r600 and radeonsi Changes in MesaLib 10.1: Removed support for the GL_MESA_texture_array extension. This extension enabled the use of texture array with fixed-function and assembly fragment shaders. No applications are known to use this extension. New features in MesaLib 10.0: GL_AMD_seamless_cubemap_per_texture on i965. GL_ARB_conservative_depth on i965. GL_ARB_texture_gather on i965. GL_ARB_texture_query_levels on i965. GL_ARB_texture_mirror_clamp_to_edge. GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, and GL_ARB_transform_feedback_instanced on i965/Gen7 (with appropriate kernel support). GL_ARB_sample_shading on i965. GL_ARB_shader_atomic_counters on i965. GL_ARB_vertex_attrib_binding GL_ARB_vertex_type_10f_11f_11f_rev on i965 and r600g GL_KHR_debug GLX_MESA_query_renderer Changes in MesaLib 10.0: Removed X.Org state tracker (unmaintained and broken) Removed the video-accel r300 targets Removed the video-accel softpipe targets New features in MesaLib 9.2: GL_ARB_shading_language_420pack in all drivers that support GLSL 1.30. GL_ARB_texture_buffer_range GL_ARB_texture_multisample GL_ARB_texture_storage_multisample GL_ARB_texture_query_lod GL_ARB_texture_storage on radeon, r200, and nouveau GL_EXT_discard_framebuffer in all OpenGL ES (all versions) drivers GL_EXT_framebuffer_multisample_blit_scaled on i965 Added new freedreno gallium driver OSMesa interface for gallium llvmpipe/softpipe drivers Gallium Heads-Up Display (HUD) feature for performance monitoring Added support for UVD (2.2 and 3.0) video decoding on r600g and radeonsi through VDPAU (requires Kernel 3.10 or later) Changes in MesaLib 9.2: Removed d3d1x state tracker (unused, unmaintained and broken) Removed GL_EXT_clip_volume_hint because no driver had enabled it since 2007. Removed GL_MESA_resize_buffers because it was only really implemented by the (unsupported) GDI driver. GL_EXT_separate_shader_objects has been removed from all Gallium drivers, because it disallows a critical GLSL shader optimization. GL_ARB_separate_shader_objects doesn't have this issue. i965 Gen6+ requires Kernel 3.6 or later. (92d2f5a) New features in MesaLib 9.1: GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES3_compatibility GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shading_language_packing GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_EXT_color_buffer_float GL_OES_depth_texture_cube_map OpenGL 3.1 core profile support on Radeon HD2000 up to HD6000 series Multisample anti-aliasing support on Radeon X1000 series OpenGL ES 3.0 support on Intel HD Graphics 2000, 2500, 3000, and 4000 Changes in MesaLib 9.1: Removed VAAPI state tracker (unmaintained and broken) Removed i965's broken hardware implementation of GL_NV_vertex_program Removed swrast support for GL_NV_vertex_program Removed swrast support for GL_NV_fragment_program Removed OpenVMS support (unmaintained and broken) Removed makedepend build dependency New features in MesaLib 9: Added new Gallium3D - nv30 driver Added new Gallium3D - radeonsi driver Added OpenCL state tracker Clover Completed VDPAU state tracker (video decoding support is currently limited to MPEG1 and MPEG2) GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_invalidate_subdata - Currently a "no-op" implementation. This extension is always enabled in all drivers. GL_ARB_shader_bit_encoding GL_ARB_texture_buffer_object GL_ARB_timer_query GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_uniform_buffer_object GL_EXT_unpack_subimage for ES 2.0 GL_EXT_read_format_bgra for ES 1.1 and 2.0 GL_EXT_texture_rg for ES 2.x GL_NV_read_buffer for ES 2.0 GLX_ARB_create_context_robustness EGL_KHR_create_context EGL_KHR_surfaceless_context - This replaces the EGL_KHR_surfaceless_{gles1,gles2,opengl} extensions that were never approved by Khronos. EGL_EXT_create_context_robustness Changes in Mesalib 9: The legacy/static Makefile system (ex: 'make linux-dri') has been removed. The two supported build methods are now autoconf/automake and SCons. Removed support for GL_ARB_shadow_ambient extension Removed Gallium3D - nvfx driver (use nv30 instead) libGLU has been moved into its own repository New features in MesaLib 8: GL_ARB_ES2_compatibility (r300g, r600g) GL_ARB_depth_buffer_float (r600g) GL_ARB_vertex_type_2_10_10_10_rev (r600g) GL_ARB_texture_storage (gallium drivers and swrast) GL_EXT_packed_float (i965) GL_EXT_texture_array (r600g, i965) GL_EXT_texture_shared_exponent (i965) GL_NV_fog_distance (all gallium drivers, nouveau classic) GL_NV_primitive_restart (r600g) GL_OES_EGL_image_external (gallium drivers) GL_OES_compressed_ETC1_RGB8_texture (softpipe, llvmpipe) ARB_texture_rgb10_a2ui (softpipe, r600g) Many updates to the VMware svga Gallium driver Changes in MesaLib 8: Removed all DRI drivers that did not support DRI2. Specifically, i810, mach64, mga, r128, savage, sis, tdfx, and unichrome were removed. Removed support for BeOS. Removed the obsolete (and unmaintained) Windows "gldirect" and "ICD" drivers. Removed the linux-fbdev software driver. Removed all remnants of paletted texture support. As required by desktop OpenGL, GL_COLOR_INDEX data can still be uploaded to a color (e.g., RGBA) texture. However, the data cannot be stored internally as color-index. Removed support for GL_APPLE_client_storage extension. Removed the classic Mesa r300 and r600 drivers, which are superseded by the gallium drivers for this hardware. Removed the dead Gallium i965, cell and failover drivers, which were either broken and with nobody in sight to fix the situation or deprecated.
2015-04-25 13:19:18 +02:00
#
# LLVM support
#
.if !empty(PKG_OPTIONS:Mllvm)
MESON_ARGS+= -Dllvm=true
MesaLib: Update to 19.2.1 Bug fixes in 19.2.1: meson.build:1447:6: ERROR: Problem encountered: libdrm required for gallium video statetrackers when using x11 Mesa doesn't build with current Scons version (3.1.0) libXvMC-1.0.12 breaks mesa build Meson can't find 32-bit libXvMCW in non-standard path Mesa installs gl.pc and egl.pc even with libglvnd >= 1.2.0 Changes in 19.2.0: Adam Jackson (1): docs: Update bug report URLs for the gitlab migration Alex Smith (1): radv: Change memory type order for GPUs without dedicated VRAM Alyssa Rosenzweig (1): pan/midgard: Fix writeout combining Andres Gomez (1): docs: Add the maximum implemented Vulkan API version in 19.2 rel notes Andres Rodriguez (1): radv: additional query fixes Arcady Goldmints-Orlov (1): anv: fix descriptor limits on gen8 Bas Nieuwenhuizen (6): radv: Use correct vgpr_comp_cnt for VS if both prim_id and instance_id are needed. radv: Emit VGT_GS_ONCHIP_CNTL for tess on GFX10. radv: Disable NGG for geometry shaders. Revert "ac/nir: Lower large indirect variables to scratch" tu: Set up glsl types. radv: Add workaround for hang in The Surge 2. Caio Marcelo de Oliveira Filho (2): nir/lower_explicit_io: Handle 1 bit loads and stores glsl/nir: Avoid overflow when setting max_uniform_location Connor Abbott (1): radv: Call nir_propagate_invariant() Danylo Piliaiev (3): nir/loop_unroll: Prepare loop for unrolling in wrapper_unroll nir/loop_analyze: Treat do{}while(false) loops as 0 iterations tgsi_to_nir: Translate TGSI_INTERPOLATE_COLOR as INTERP_MODE_NONE Dave Airlie (2): virgl: fix format conversion for recent gallium changes. gallivm: fix atomic compare-and-swap Dave Stevenson (1): broadcom/v3d: Allow importing linear BOs with arbitrary offset/stride. Dylan Baker (9): bump version to 19.2-rc2 nir: Add is_not_negative helper function Bump version for rc3 meson: don't generate file into subdirs add patches to be ignored Bump version for 19.2.0-rc4 cherry-ignore: Add patches rehardcode from origin/master to upstream/master bin/get-pick-list: use --oneline=pretty instead of --oneline Emil Velikov (1): Update version to 19.2.0-rc1 Eric Engestrom (14): ttn: fix 64-bit shift on 32-bit `1` egl: fix deadlock in malloc error path util/os_file: fix double-close() anv: fix format string in error message freedreno/drm-shim: fix mem leak nir: fix memleak in error path anv: add support for driconf wsi: add minImageCount override anv: add support for vk_x11_override_min_image_count amd: move adaptive sync to performance section, as it is defined in xmlpool radv: add support for vk_x11_override_min_image_count drirc: override minImageCount=2 for gfxbench gl: drop incorrect pkg-config file for glvnd meson: re-add incorrect pkg-config files with GLVND for backward compatibility Erik Faye-Lund (2): gallium/auxiliary/indices: consistently apply start only to input util: fix SSE-version needed for double opcodes Haihao Xiang (1): i965: support AYUV/XYUV for external import only Hal Gentz (2): glx: Fix SEGV due to dereferencing a NULL ptr from XCB-GLX. gallium/osmesa: Fix the inability to set no context as current. Iago Toral Quiroga (1): v3d: make sure we have enough space in the CL for the primitive counts packet Ian Romanick (8): nir/algrbraic: Don't optimize open-coded bitfield reverse when lowering is enabled intel/compiler: Request bitfield_reverse lowering on pre-Gen7 hardware nir/algebraic: Mark some value range analysis-based optimizations imprecise nir/range-analysis: Adjust result range of exp2 to account for flush-to-zero nir/range-analysis: Adjust result range of multiplication to account for flush-to-zero nir/range-analysis: Fix incorrect fadd range result for (ne_zero, ne_zero) nir/range-analysis: Handle constants in nir_op_mov just like nir_op_bcsel nir/algebraic: Do not apply late DPH optimization in vertex processing stages Ilia Mirkin (1): gallium/vl: use compute preference for all multimedia, not just blit Jason Ekstrand (9): anv: Bump maxComputeWorkgroupSize nir: Handle complex derefs in nir_split_array_vars nir: Don't infinitely recurse in lower_ssa_defs_to_regs_block nir: Add a block_is_unreachable helper nir/repair_ssa: Repair dominance for unreachable blocks nir/repair_ssa: Insert deref casts when needed nir/dead_cf: Repair SSA if the pass makes progress intel/fs: Handle UNDEF in split_virtual_grfs nir/repair_ssa: Replace the unreachable check with the phi builder Jonathan Marek (1): freedreno/a2xx: ir2: fix lowering of instructions after float lowering Jose Maria Casanova Crespo (1): mesa: recover target_check before get_current_tex_objects Juan A. Suarez Romero (1): bin/get-pick-list.sh: sha1 commits can be smaller than 8 chars Kenneth Graunke (20): gallium/ddebug: Wrap resource_get_param if available gallium/trace: Wrap resource_get_param if available gallium/rbug: Wrap resource_get_param if available gallium/noop: Implement resource_get_param iris: Replace devinfo->gen with GEN_GEN iris: Fix broken aux.possible/sampler_usages bitmask handling iris: Update fast clear colors on Gen9 with direct immediate writes. iris: Drop copy format hacks from copy region based transfer path. iris: Avoid unnecessary resolves on transfer maps iris: Fix large timeout handling in rel2abs() isl: Drop UnormPathInColorPipe for buffer surfaces. isl: Don't set UnormPathInColorPipe for integer surfaces. util: Add a _mesa_i64roundevenf() helper. mesa: Fix _mesa_float_to_unorm() on 32-bit systems. iris: Fix partial fast clear checks to account for miplevel. iris: Report correct number of planes for planar images iris: Fix constant buffer sizes for non-UBOs gallium: Fix util_format_get_depth_only iris: Initialize ice->state.prim_mode to an invalid value intel: Increase Gen11 compute shader scratch IDs to 64. Lepton Wu (1): virgl: Fix pipe_resource leaks under multi-sample. Lionel Landwerlin (9): util/timespec: use unsigned 64 bit integers for nsec values util: fix compilation on macos egl: fix platform selection vulkan/overlay: bounce image back to present layout radv: store engine name driconfig: add a new engine name/version parameter vulkan: add vk_x11_strict_image_count option util/xmlconfig: fix regexp compile failure check drirc: include unreal engine version 0 to 23 Marek Olšák (23): radeonsi/gfx10: fix the legacy pipeline by storing as_ngg in the shader cache radeonsi: move some global shader cache flags to per-binary flags radeonsi/gfx10: fix tessellation for the legacy pipeline radeonsi/gfx10: fix the PRIMITIVES_GENERATED query if using legacy streamout radeonsi/gfx10: create the GS copy shader if using legacy streamout radeonsi/gfx10: add as_ngg variant for VS as ES to select Wave32/64 radeonsi/gfx10: fix InstanceID for legacy VS+GS radeonsi/gfx10: don't initialize VGT_INSTANCE_STEP_RATE_0 radeonsi/gfx10: always use the legacy pipeline for streamout radeonsi/gfx10: finish up Navi14, add PCI ID radeonsi/gfx10: add AMD_DEBUG=nongg winsys/amdgpu+radeon: process AMD_DEBUG in addition to R600_DEBUG radeonsi: add PKT3_CONTEXT_REG_RMW radeonsi/gfx10: remove incorrect ngg/pos_writes_edgeflag variables radeonsi/gfx10: set PA_CL_VS_OUT_CNTL with CONTEXT_REG_RMW to fix edge flags radeonsi: consolidate determining VGPR_COMP_CNT for API VS radeonsi: unbind blend/DSA/rasterizer state correctly in delete functions radeonsi: fix scratch buffer WAVESIZE setting leading to corruption radeonsi/gfx10: don't call gfx10_destroy_query with compute-only contexts radeonsi/gfx10: fix wave occupancy computations radeonsi: add Navi12 PCI ID amd: add more PCI IDs for Navi14 ac/addrlib: fix chip identification for Vega10, Arcturus, Raven2, Renoir Mauro Rossi (2): android: mesa: revert "Enable asm unconditionally" android: anv: libmesa_vulkan_common: add libmesa_util static dependency Paulo Zanoni (2): intel/fs: grab fail_msg from v32 instead of v16 when v32->run_cs fails intel/fs: fix SHADER_OPCODE_CLUSTER_BROADCAST for SIMD32 Pierre-Eric Pelloux-Prayer (1): glsl: replace 'x + (-x)' with constant 0 Rafael Antognolli (1): anv: Only re-emit non-dynamic state that has changed. Rhys Perry (1): radv: always emit a position export in gs copy shaders Samuel Iglesias Gonsálvez (1): intel/nir: do not apply the fsin and fcos trig workarounds for consts Samuel Pitoiset (11): radv: allow to enable VK_AMD_shader_ballot only on GFX8+ radv: add a new debug option called RADV_DEBUG=noshaderballot radv: force enable VK_AMD_shader_ballot for Wolfenstein Youngblood ac: fix exclusive scans on GFX8-GFX9 radv/gfx10: don't initialize VGT_INSTANCE_STEP_RATE_0 radv/gfx10: do not use NGG with NAVI14 radv: fix getting the index type size for uint8_t nir: do not assume that the result of fexp2(a) is always an integral radv: fix allocating number of user sgprs if streamout is used radv: fix loading 64-bit GS inputs radv/gfx10: fix VK_KHR_pipeline_executable_properties with NGG GS Sergii Romantsov (2): intel/dri: finish proper glthread nir/large_constants: more careful data copying Tapani Pälli (5): util: fix os_create_anonymous_file on android iris/android: fix build and link with libmesa_intel_perf egl: reset blob cache set/get functions on terminate iris: close screen fd on iris_destroy_screen egl: check for NULL value like eglGetSyncAttribKHR does Thong Thai (1): Revert "radeonsi: don't emit PKT3_CONTEXT_CONTROL on amdgpu" Timur Kristóf (1): st/nine: Properly initialize GLSL types for NIR shaders. Vinson Lee (2): swr: Fix build with llvm-9.0 again. travis: Fail build if any command in if statement fails.
2019-10-18 11:57:07 +02:00
BUILDLINK_API_DEPENDS.libLLVM+= libLLVM>=7.0.1nb2
. include "../../devel/libelf/buildlink3.mk"
. include "../../lang/libLLVM/buildlink3.mk"
. if ${OPSYS} != "Darwin" && ${OPSYS} != "Cygwin"
MesaLib: Update to 19.2.1 Bug fixes in 19.2.1: meson.build:1447:6: ERROR: Problem encountered: libdrm required for gallium video statetrackers when using x11 Mesa doesn't build with current Scons version (3.1.0) libXvMC-1.0.12 breaks mesa build Meson can't find 32-bit libXvMCW in non-standard path Mesa installs gl.pc and egl.pc even with libglvnd >= 1.2.0 Changes in 19.2.0: Adam Jackson (1): docs: Update bug report URLs for the gitlab migration Alex Smith (1): radv: Change memory type order for GPUs without dedicated VRAM Alyssa Rosenzweig (1): pan/midgard: Fix writeout combining Andres Gomez (1): docs: Add the maximum implemented Vulkan API version in 19.2 rel notes Andres Rodriguez (1): radv: additional query fixes Arcady Goldmints-Orlov (1): anv: fix descriptor limits on gen8 Bas Nieuwenhuizen (6): radv: Use correct vgpr_comp_cnt for VS if both prim_id and instance_id are needed. radv: Emit VGT_GS_ONCHIP_CNTL for tess on GFX10. radv: Disable NGG for geometry shaders. Revert "ac/nir: Lower large indirect variables to scratch" tu: Set up glsl types. radv: Add workaround for hang in The Surge 2. Caio Marcelo de Oliveira Filho (2): nir/lower_explicit_io: Handle 1 bit loads and stores glsl/nir: Avoid overflow when setting max_uniform_location Connor Abbott (1): radv: Call nir_propagate_invariant() Danylo Piliaiev (3): nir/loop_unroll: Prepare loop for unrolling in wrapper_unroll nir/loop_analyze: Treat do{}while(false) loops as 0 iterations tgsi_to_nir: Translate TGSI_INTERPOLATE_COLOR as INTERP_MODE_NONE Dave Airlie (2): virgl: fix format conversion for recent gallium changes. gallivm: fix atomic compare-and-swap Dave Stevenson (1): broadcom/v3d: Allow importing linear BOs with arbitrary offset/stride. Dylan Baker (9): bump version to 19.2-rc2 nir: Add is_not_negative helper function Bump version for rc3 meson: don't generate file into subdirs add patches to be ignored Bump version for 19.2.0-rc4 cherry-ignore: Add patches rehardcode from origin/master to upstream/master bin/get-pick-list: use --oneline=pretty instead of --oneline Emil Velikov (1): Update version to 19.2.0-rc1 Eric Engestrom (14): ttn: fix 64-bit shift on 32-bit `1` egl: fix deadlock in malloc error path util/os_file: fix double-close() anv: fix format string in error message freedreno/drm-shim: fix mem leak nir: fix memleak in error path anv: add support for driconf wsi: add minImageCount override anv: add support for vk_x11_override_min_image_count amd: move adaptive sync to performance section, as it is defined in xmlpool radv: add support for vk_x11_override_min_image_count drirc: override minImageCount=2 for gfxbench gl: drop incorrect pkg-config file for glvnd meson: re-add incorrect pkg-config files with GLVND for backward compatibility Erik Faye-Lund (2): gallium/auxiliary/indices: consistently apply start only to input util: fix SSE-version needed for double opcodes Haihao Xiang (1): i965: support AYUV/XYUV for external import only Hal Gentz (2): glx: Fix SEGV due to dereferencing a NULL ptr from XCB-GLX. gallium/osmesa: Fix the inability to set no context as current. Iago Toral Quiroga (1): v3d: make sure we have enough space in the CL for the primitive counts packet Ian Romanick (8): nir/algrbraic: Don't optimize open-coded bitfield reverse when lowering is enabled intel/compiler: Request bitfield_reverse lowering on pre-Gen7 hardware nir/algebraic: Mark some value range analysis-based optimizations imprecise nir/range-analysis: Adjust result range of exp2 to account for flush-to-zero nir/range-analysis: Adjust result range of multiplication to account for flush-to-zero nir/range-analysis: Fix incorrect fadd range result for (ne_zero, ne_zero) nir/range-analysis: Handle constants in nir_op_mov just like nir_op_bcsel nir/algebraic: Do not apply late DPH optimization in vertex processing stages Ilia Mirkin (1): gallium/vl: use compute preference for all multimedia, not just blit Jason Ekstrand (9): anv: Bump maxComputeWorkgroupSize nir: Handle complex derefs in nir_split_array_vars nir: Don't infinitely recurse in lower_ssa_defs_to_regs_block nir: Add a block_is_unreachable helper nir/repair_ssa: Repair dominance for unreachable blocks nir/repair_ssa: Insert deref casts when needed nir/dead_cf: Repair SSA if the pass makes progress intel/fs: Handle UNDEF in split_virtual_grfs nir/repair_ssa: Replace the unreachable check with the phi builder Jonathan Marek (1): freedreno/a2xx: ir2: fix lowering of instructions after float lowering Jose Maria Casanova Crespo (1): mesa: recover target_check before get_current_tex_objects Juan A. Suarez Romero (1): bin/get-pick-list.sh: sha1 commits can be smaller than 8 chars Kenneth Graunke (20): gallium/ddebug: Wrap resource_get_param if available gallium/trace: Wrap resource_get_param if available gallium/rbug: Wrap resource_get_param if available gallium/noop: Implement resource_get_param iris: Replace devinfo->gen with GEN_GEN iris: Fix broken aux.possible/sampler_usages bitmask handling iris: Update fast clear colors on Gen9 with direct immediate writes. iris: Drop copy format hacks from copy region based transfer path. iris: Avoid unnecessary resolves on transfer maps iris: Fix large timeout handling in rel2abs() isl: Drop UnormPathInColorPipe for buffer surfaces. isl: Don't set UnormPathInColorPipe for integer surfaces. util: Add a _mesa_i64roundevenf() helper. mesa: Fix _mesa_float_to_unorm() on 32-bit systems. iris: Fix partial fast clear checks to account for miplevel. iris: Report correct number of planes for planar images iris: Fix constant buffer sizes for non-UBOs gallium: Fix util_format_get_depth_only iris: Initialize ice->state.prim_mode to an invalid value intel: Increase Gen11 compute shader scratch IDs to 64. Lepton Wu (1): virgl: Fix pipe_resource leaks under multi-sample. Lionel Landwerlin (9): util/timespec: use unsigned 64 bit integers for nsec values util: fix compilation on macos egl: fix platform selection vulkan/overlay: bounce image back to present layout radv: store engine name driconfig: add a new engine name/version parameter vulkan: add vk_x11_strict_image_count option util/xmlconfig: fix regexp compile failure check drirc: include unreal engine version 0 to 23 Marek Olšák (23): radeonsi/gfx10: fix the legacy pipeline by storing as_ngg in the shader cache radeonsi: move some global shader cache flags to per-binary flags radeonsi/gfx10: fix tessellation for the legacy pipeline radeonsi/gfx10: fix the PRIMITIVES_GENERATED query if using legacy streamout radeonsi/gfx10: create the GS copy shader if using legacy streamout radeonsi/gfx10: add as_ngg variant for VS as ES to select Wave32/64 radeonsi/gfx10: fix InstanceID for legacy VS+GS radeonsi/gfx10: don't initialize VGT_INSTANCE_STEP_RATE_0 radeonsi/gfx10: always use the legacy pipeline for streamout radeonsi/gfx10: finish up Navi14, add PCI ID radeonsi/gfx10: add AMD_DEBUG=nongg winsys/amdgpu+radeon: process AMD_DEBUG in addition to R600_DEBUG radeonsi: add PKT3_CONTEXT_REG_RMW radeonsi/gfx10: remove incorrect ngg/pos_writes_edgeflag variables radeonsi/gfx10: set PA_CL_VS_OUT_CNTL with CONTEXT_REG_RMW to fix edge flags radeonsi: consolidate determining VGPR_COMP_CNT for API VS radeonsi: unbind blend/DSA/rasterizer state correctly in delete functions radeonsi: fix scratch buffer WAVESIZE setting leading to corruption radeonsi/gfx10: don't call gfx10_destroy_query with compute-only contexts radeonsi/gfx10: fix wave occupancy computations radeonsi: add Navi12 PCI ID amd: add more PCI IDs for Navi14 ac/addrlib: fix chip identification for Vega10, Arcturus, Raven2, Renoir Mauro Rossi (2): android: mesa: revert "Enable asm unconditionally" android: anv: libmesa_vulkan_common: add libmesa_util static dependency Paulo Zanoni (2): intel/fs: grab fail_msg from v32 instead of v16 when v32->run_cs fails intel/fs: fix SHADER_OPCODE_CLUSTER_BROADCAST for SIMD32 Pierre-Eric Pelloux-Prayer (1): glsl: replace 'x + (-x)' with constant 0 Rafael Antognolli (1): anv: Only re-emit non-dynamic state that has changed. Rhys Perry (1): radv: always emit a position export in gs copy shaders Samuel Iglesias Gonsálvez (1): intel/nir: do not apply the fsin and fcos trig workarounds for consts Samuel Pitoiset (11): radv: allow to enable VK_AMD_shader_ballot only on GFX8+ radv: add a new debug option called RADV_DEBUG=noshaderballot radv: force enable VK_AMD_shader_ballot for Wolfenstein Youngblood ac: fix exclusive scans on GFX8-GFX9 radv/gfx10: don't initialize VGT_INSTANCE_STEP_RATE_0 radv/gfx10: do not use NGG with NAVI14 radv: fix getting the index type size for uint8_t nir: do not assume that the result of fexp2(a) is always an integral radv: fix allocating number of user sgprs if streamout is used radv: fix loading 64-bit GS inputs radv/gfx10: fix VK_KHR_pipeline_executable_properties with NGG GS Sergii Romantsov (2): intel/dri: finish proper glthread nir/large_constants: more careful data copying Tapani Pälli (5): util: fix os_create_anonymous_file on android iris/android: fix build and link with libmesa_intel_perf egl: reset blob cache set/get functions on terminate iris: close screen fd on iris_destroy_screen egl: check for NULL value like eglGetSyncAttribKHR does Thong Thai (1): Revert "radeonsi: don't emit PKT3_CONTEXT_CONTROL on amdgpu" Timur Kristóf (1): st/nine: Properly initialize GLSL types for NIR shaders. Vinson Lee (2): swr: Fix build with llvm-9.0 again. travis: Fail build if any command in if statement fails.
2019-10-18 11:57:07 +02:00
# This is the latest libdrm requirement for amdgpu.
BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.99
PLIST.r600= yes
GALLIUM_DRIVERS+= r600
PLIST.radeonsi= yes
GALLIUM_DRIVERS+= radeonsi
. endif
.else
MESON_ARGS+= -Dllvm=false
.endif
Update to MesaLib-10.5.3. Apologies in advance for any fallout. I have tested this as extensively as I could in wip but the fact is we were 5 years and 50+ releases behind so there will undoubtably still be issues. Users of software rendering should see a nice performance boost with this package as it now comes with the llvmpipe software rasterizer. Users who currently enjoy working DRI1 rendering with X11_TYPE=modular should switch to x11/modular-xorg-server112 now as x11/modular-xorg-server will from now on only support DRI2 and up. New features in MesaLib 10.5: Mesa 10.5.0 implements the OpenGL 3.3 API GL_ARB_framebuffer_sRGB on freedreno GL_ARB_texture_rg on freedreno GL_EXT_packed_float on freedreno GL_EXT_polygon_offset_clamp on i965, nv50, nvc0, r600, radeonsi, llvmpipe GL_EXT_texture_shared_exponent on freedreno GL_EXT_texture_snorm on freedreno Changes in MesaLib 10.5: Removed support for GCC versions earlier than 4.2.0. New features in MesaLib 10.4: GL_ARB_conditional_render_inverted on nv50 GL_ARB_sample_shading on r600 GL_ARB_texture_view on nv50, nvc0 GL_ARB_clip_control on nv50, nvc0, r300, r600, radeonsi, llvmpipe, softpipe GL_KHR_context_flush_control on all drivers Changes in MesaLib 10.4: The environment variable GALLIUM_MSAA that forced a multisample GLX visual was removed. New features in MesaLib 10.3: GL_ARB_ES3_compatibility on nv50, nvc0, r600, radeonsi, softpipe, llvmpipe GL_ARB_clear_texture on i965 GL_ARB_compressed_texture_pixel_storage on all drivers GL_ARB_conditional_render_inverted on i965, nvc0, softpipe, llvmpipe GL_ARB_derivative_control on i965, nv50, nvc0, r600 GL_ARB_draw_indirect on nvc0, radeonsi GL_ARB_explicit_uniform_location (all drivers that support GLSL) GL_ARB_fragment_layer_viewport on nv50, nvc0, llvmpipe, r600 GL_ARB_gpu_shader5 on i965/gen7, nvc0 GL_ARB_multi_draw_indirect on nvc0, radeonsi GL_ARB_sample_shading on radeonsi GL_ARB_seamless_cubemap_per_texture on i965, llvmpipe, nvc0, r600, radeonsi, softpipe GL_ARB_stencil_texturing on nv50, nvc0, r600, and radeonsi GL_ARB_texture_barrier on nv50, nvc0, r300, r600, radeonsi GL_ARB_texture_compression_bptc on i965/gen7+, nvc0, r600/evergreen+, radeonsi GL_ARB_texture_cube_map_array on radeonsi GL_ARB_texture_gather on r600, radeonsi GL_ARB_texture_query_levels on nv50, nvc0, llvmpipe, r600, radeonsi, softpipe GL_ARB_texture_query_lod on r600, radeonsi GL_ARB_viewport_array on nvc0 GL_AMD_vertex_shader_viewport_index on i965/gen7+, r600 GL_OES_compressed_ETC1_RGB8_texture on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe GLX_MESA_query_renderer on nv30, nv50, nvc0, r300, r600, radeonsi, softpipe, llvmpipe A new software rasterizer driver (kms_swrast_dri.so) that works with DRM drivers that don't have a full-fledged GEM (such as qxl or simpledrm) Distribute the Khronos GL/glcorearb.h header file. Changes in MesaLib 10.3: Removed support for the GL_ATI_envmap_bumpmap extension The hacky --enable-32/64-bit is no longer available in configure. To build 32/64 bit mesa refer to the default method recommended by your distribution New features in MesaLib 10.2: GL_ARB_buffer_storage on i965, nv30, nv50, nvc0, r300, r600, and radeonsi GL_ARB_multi_bind on all drivers GL_ARB_sample_shading on nv50 (GT21x only), nvc0 GL_ARB_separate_shader_objects (desktop OpenGL) and GL_EXT_separate_shader_objects (OpenGL ES 2.0 and 3.0) on all drivers GL_ARB_stencil_texturing on i965/gen8+ GL_ARB_texture_cube_map_array on nv50 (GT21x only) GL_ARB_texture_gather on nv50 (GT21x only), nvc0 GL_ARB_texture_query_lod on nv50 (GT21x only), nvc0 GL_ARB_texture_view on i965/gen7 GL_ARB_vertex_type_10f_11f_11f_rev on nv50, nvc0, radeonsi GL_ARB_viewport_array on nv50, r600 GL_INTEL_performance_query on i965/gen5+ Changes in MesaLib 10.2: Renamed --with-llvm-shared-libs to --enable-llvm-shared-libs Split libxatracker.so into a standalone library which can be used with any gallium driver. New features in MesaLib 10.1: GL_ARB_draw_indirect on i965. GL_ARB_clear_buffer_object GL_ARB_viewport_array on i965. GL_ARB_map_buffer_alignment on all drivers that did not previously support it. GL_AMD_shader_trinary_minmax. GL_EXT_framebuffer_blit on r200 and radeon. Reduced memory usage for display lists. OpenGL 3.3 support on nv50, nvc0, r600 and radeonsi Changes in MesaLib 10.1: Removed support for the GL_MESA_texture_array extension. This extension enabled the use of texture array with fixed-function and assembly fragment shaders. No applications are known to use this extension. New features in MesaLib 10.0: GL_AMD_seamless_cubemap_per_texture on i965. GL_ARB_conservative_depth on i965. GL_ARB_texture_gather on i965. GL_ARB_texture_query_levels on i965. GL_ARB_texture_mirror_clamp_to_edge. GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, and GL_ARB_transform_feedback_instanced on i965/Gen7 (with appropriate kernel support). GL_ARB_sample_shading on i965. GL_ARB_shader_atomic_counters on i965. GL_ARB_vertex_attrib_binding GL_ARB_vertex_type_10f_11f_11f_rev on i965 and r600g GL_KHR_debug GLX_MESA_query_renderer Changes in MesaLib 10.0: Removed X.Org state tracker (unmaintained and broken) Removed the video-accel r300 targets Removed the video-accel softpipe targets New features in MesaLib 9.2: GL_ARB_shading_language_420pack in all drivers that support GLSL 1.30. GL_ARB_texture_buffer_range GL_ARB_texture_multisample GL_ARB_texture_storage_multisample GL_ARB_texture_query_lod GL_ARB_texture_storage on radeon, r200, and nouveau GL_EXT_discard_framebuffer in all OpenGL ES (all versions) drivers GL_EXT_framebuffer_multisample_blit_scaled on i965 Added new freedreno gallium driver OSMesa interface for gallium llvmpipe/softpipe drivers Gallium Heads-Up Display (HUD) feature for performance monitoring Added support for UVD (2.2 and 3.0) video decoding on r600g and radeonsi through VDPAU (requires Kernel 3.10 or later) Changes in MesaLib 9.2: Removed d3d1x state tracker (unused, unmaintained and broken) Removed GL_EXT_clip_volume_hint because no driver had enabled it since 2007. Removed GL_MESA_resize_buffers because it was only really implemented by the (unsupported) GDI driver. GL_EXT_separate_shader_objects has been removed from all Gallium drivers, because it disallows a critical GLSL shader optimization. GL_ARB_separate_shader_objects doesn't have this issue. i965 Gen6+ requires Kernel 3.6 or later. (92d2f5a) New features in MesaLib 9.1: GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES3_compatibility GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shading_language_packing GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_EXT_color_buffer_float GL_OES_depth_texture_cube_map OpenGL 3.1 core profile support on Radeon HD2000 up to HD6000 series Multisample anti-aliasing support on Radeon X1000 series OpenGL ES 3.0 support on Intel HD Graphics 2000, 2500, 3000, and 4000 Changes in MesaLib 9.1: Removed VAAPI state tracker (unmaintained and broken) Removed i965's broken hardware implementation of GL_NV_vertex_program Removed swrast support for GL_NV_vertex_program Removed swrast support for GL_NV_fragment_program Removed OpenVMS support (unmaintained and broken) Removed makedepend build dependency New features in MesaLib 9: Added new Gallium3D - nv30 driver Added new Gallium3D - radeonsi driver Added OpenCL state tracker Clover Completed VDPAU state tracker (video decoding support is currently limited to MPEG1 and MPEG2) GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_invalidate_subdata - Currently a "no-op" implementation. This extension is always enabled in all drivers. GL_ARB_shader_bit_encoding GL_ARB_texture_buffer_object GL_ARB_timer_query GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_uniform_buffer_object GL_EXT_unpack_subimage for ES 2.0 GL_EXT_read_format_bgra for ES 1.1 and 2.0 GL_EXT_texture_rg for ES 2.x GL_NV_read_buffer for ES 2.0 GLX_ARB_create_context_robustness EGL_KHR_create_context EGL_KHR_surfaceless_context - This replaces the EGL_KHR_surfaceless_{gles1,gles2,opengl} extensions that were never approved by Khronos. EGL_EXT_create_context_robustness Changes in Mesalib 9: The legacy/static Makefile system (ex: 'make linux-dri') has been removed. The two supported build methods are now autoconf/automake and SCons. Removed support for GL_ARB_shadow_ambient extension Removed Gallium3D - nvfx driver (use nv30 instead) libGLU has been moved into its own repository New features in MesaLib 8: GL_ARB_ES2_compatibility (r300g, r600g) GL_ARB_depth_buffer_float (r600g) GL_ARB_vertex_type_2_10_10_10_rev (r600g) GL_ARB_texture_storage (gallium drivers and swrast) GL_EXT_packed_float (i965) GL_EXT_texture_array (r600g, i965) GL_EXT_texture_shared_exponent (i965) GL_NV_fog_distance (all gallium drivers, nouveau classic) GL_NV_primitive_restart (r600g) GL_OES_EGL_image_external (gallium drivers) GL_OES_compressed_ETC1_RGB8_texture (softpipe, llvmpipe) ARB_texture_rgb10_a2ui (softpipe, r600g) Many updates to the VMware svga Gallium driver Changes in MesaLib 8: Removed all DRI drivers that did not support DRI2. Specifically, i810, mach64, mga, r128, savage, sis, tdfx, and unichrome were removed. Removed support for BeOS. Removed the obsolete (and unmaintained) Windows "gldirect" and "ICD" drivers. Removed the linux-fbdev software driver. Removed all remnants of paletted texture support. As required by desktop OpenGL, GL_COLOR_INDEX data can still be uploaded to a color (e.g., RGBA) texture. However, the data cannot be stored internally as color-index. Removed support for GL_APPLE_client_storage extension. Removed the classic Mesa r300 and r600 drivers, which are superseded by the gallium drivers for this hardware. Removed the dead Gallium i965, cell and failover drivers, which were either broken and with nobody in sight to fix the situation or deprecated.
2015-04-25 13:19:18 +02:00
MesaLib: Update to 19.2.1 Bug fixes in 19.2.1: meson.build:1447:6: ERROR: Problem encountered: libdrm required for gallium video statetrackers when using x11 Mesa doesn't build with current Scons version (3.1.0) libXvMC-1.0.12 breaks mesa build Meson can't find 32-bit libXvMCW in non-standard path Mesa installs gl.pc and egl.pc even with libglvnd >= 1.2.0 Changes in 19.2.0: Adam Jackson (1): docs: Update bug report URLs for the gitlab migration Alex Smith (1): radv: Change memory type order for GPUs without dedicated VRAM Alyssa Rosenzweig (1): pan/midgard: Fix writeout combining Andres Gomez (1): docs: Add the maximum implemented Vulkan API version in 19.2 rel notes Andres Rodriguez (1): radv: additional query fixes Arcady Goldmints-Orlov (1): anv: fix descriptor limits on gen8 Bas Nieuwenhuizen (6): radv: Use correct vgpr_comp_cnt for VS if both prim_id and instance_id are needed. radv: Emit VGT_GS_ONCHIP_CNTL for tess on GFX10. radv: Disable NGG for geometry shaders. Revert "ac/nir: Lower large indirect variables to scratch" tu: Set up glsl types. radv: Add workaround for hang in The Surge 2. Caio Marcelo de Oliveira Filho (2): nir/lower_explicit_io: Handle 1 bit loads and stores glsl/nir: Avoid overflow when setting max_uniform_location Connor Abbott (1): radv: Call nir_propagate_invariant() Danylo Piliaiev (3): nir/loop_unroll: Prepare loop for unrolling in wrapper_unroll nir/loop_analyze: Treat do{}while(false) loops as 0 iterations tgsi_to_nir: Translate TGSI_INTERPOLATE_COLOR as INTERP_MODE_NONE Dave Airlie (2): virgl: fix format conversion for recent gallium changes. gallivm: fix atomic compare-and-swap Dave Stevenson (1): broadcom/v3d: Allow importing linear BOs with arbitrary offset/stride. Dylan Baker (9): bump version to 19.2-rc2 nir: Add is_not_negative helper function Bump version for rc3 meson: don't generate file into subdirs add patches to be ignored Bump version for 19.2.0-rc4 cherry-ignore: Add patches rehardcode from origin/master to upstream/master bin/get-pick-list: use --oneline=pretty instead of --oneline Emil Velikov (1): Update version to 19.2.0-rc1 Eric Engestrom (14): ttn: fix 64-bit shift on 32-bit `1` egl: fix deadlock in malloc error path util/os_file: fix double-close() anv: fix format string in error message freedreno/drm-shim: fix mem leak nir: fix memleak in error path anv: add support for driconf wsi: add minImageCount override anv: add support for vk_x11_override_min_image_count amd: move adaptive sync to performance section, as it is defined in xmlpool radv: add support for vk_x11_override_min_image_count drirc: override minImageCount=2 for gfxbench gl: drop incorrect pkg-config file for glvnd meson: re-add incorrect pkg-config files with GLVND for backward compatibility Erik Faye-Lund (2): gallium/auxiliary/indices: consistently apply start only to input util: fix SSE-version needed for double opcodes Haihao Xiang (1): i965: support AYUV/XYUV for external import only Hal Gentz (2): glx: Fix SEGV due to dereferencing a NULL ptr from XCB-GLX. gallium/osmesa: Fix the inability to set no context as current. Iago Toral Quiroga (1): v3d: make sure we have enough space in the CL for the primitive counts packet Ian Romanick (8): nir/algrbraic: Don't optimize open-coded bitfield reverse when lowering is enabled intel/compiler: Request bitfield_reverse lowering on pre-Gen7 hardware nir/algebraic: Mark some value range analysis-based optimizations imprecise nir/range-analysis: Adjust result range of exp2 to account for flush-to-zero nir/range-analysis: Adjust result range of multiplication to account for flush-to-zero nir/range-analysis: Fix incorrect fadd range result for (ne_zero, ne_zero) nir/range-analysis: Handle constants in nir_op_mov just like nir_op_bcsel nir/algebraic: Do not apply late DPH optimization in vertex processing stages Ilia Mirkin (1): gallium/vl: use compute preference for all multimedia, not just blit Jason Ekstrand (9): anv: Bump maxComputeWorkgroupSize nir: Handle complex derefs in nir_split_array_vars nir: Don't infinitely recurse in lower_ssa_defs_to_regs_block nir: Add a block_is_unreachable helper nir/repair_ssa: Repair dominance for unreachable blocks nir/repair_ssa: Insert deref casts when needed nir/dead_cf: Repair SSA if the pass makes progress intel/fs: Handle UNDEF in split_virtual_grfs nir/repair_ssa: Replace the unreachable check with the phi builder Jonathan Marek (1): freedreno/a2xx: ir2: fix lowering of instructions after float lowering Jose Maria Casanova Crespo (1): mesa: recover target_check before get_current_tex_objects Juan A. Suarez Romero (1): bin/get-pick-list.sh: sha1 commits can be smaller than 8 chars Kenneth Graunke (20): gallium/ddebug: Wrap resource_get_param if available gallium/trace: Wrap resource_get_param if available gallium/rbug: Wrap resource_get_param if available gallium/noop: Implement resource_get_param iris: Replace devinfo->gen with GEN_GEN iris: Fix broken aux.possible/sampler_usages bitmask handling iris: Update fast clear colors on Gen9 with direct immediate writes. iris: Drop copy format hacks from copy region based transfer path. iris: Avoid unnecessary resolves on transfer maps iris: Fix large timeout handling in rel2abs() isl: Drop UnormPathInColorPipe for buffer surfaces. isl: Don't set UnormPathInColorPipe for integer surfaces. util: Add a _mesa_i64roundevenf() helper. mesa: Fix _mesa_float_to_unorm() on 32-bit systems. iris: Fix partial fast clear checks to account for miplevel. iris: Report correct number of planes for planar images iris: Fix constant buffer sizes for non-UBOs gallium: Fix util_format_get_depth_only iris: Initialize ice->state.prim_mode to an invalid value intel: Increase Gen11 compute shader scratch IDs to 64. Lepton Wu (1): virgl: Fix pipe_resource leaks under multi-sample. Lionel Landwerlin (9): util/timespec: use unsigned 64 bit integers for nsec values util: fix compilation on macos egl: fix platform selection vulkan/overlay: bounce image back to present layout radv: store engine name driconfig: add a new engine name/version parameter vulkan: add vk_x11_strict_image_count option util/xmlconfig: fix regexp compile failure check drirc: include unreal engine version 0 to 23 Marek Olšák (23): radeonsi/gfx10: fix the legacy pipeline by storing as_ngg in the shader cache radeonsi: move some global shader cache flags to per-binary flags radeonsi/gfx10: fix tessellation for the legacy pipeline radeonsi/gfx10: fix the PRIMITIVES_GENERATED query if using legacy streamout radeonsi/gfx10: create the GS copy shader if using legacy streamout radeonsi/gfx10: add as_ngg variant for VS as ES to select Wave32/64 radeonsi/gfx10: fix InstanceID for legacy VS+GS radeonsi/gfx10: don't initialize VGT_INSTANCE_STEP_RATE_0 radeonsi/gfx10: always use the legacy pipeline for streamout radeonsi/gfx10: finish up Navi14, add PCI ID radeonsi/gfx10: add AMD_DEBUG=nongg winsys/amdgpu+radeon: process AMD_DEBUG in addition to R600_DEBUG radeonsi: add PKT3_CONTEXT_REG_RMW radeonsi/gfx10: remove incorrect ngg/pos_writes_edgeflag variables radeonsi/gfx10: set PA_CL_VS_OUT_CNTL with CONTEXT_REG_RMW to fix edge flags radeonsi: consolidate determining VGPR_COMP_CNT for API VS radeonsi: unbind blend/DSA/rasterizer state correctly in delete functions radeonsi: fix scratch buffer WAVESIZE setting leading to corruption radeonsi/gfx10: don't call gfx10_destroy_query with compute-only contexts radeonsi/gfx10: fix wave occupancy computations radeonsi: add Navi12 PCI ID amd: add more PCI IDs for Navi14 ac/addrlib: fix chip identification for Vega10, Arcturus, Raven2, Renoir Mauro Rossi (2): android: mesa: revert "Enable asm unconditionally" android: anv: libmesa_vulkan_common: add libmesa_util static dependency Paulo Zanoni (2): intel/fs: grab fail_msg from v32 instead of v16 when v32->run_cs fails intel/fs: fix SHADER_OPCODE_CLUSTER_BROADCAST for SIMD32 Pierre-Eric Pelloux-Prayer (1): glsl: replace 'x + (-x)' with constant 0 Rafael Antognolli (1): anv: Only re-emit non-dynamic state that has changed. Rhys Perry (1): radv: always emit a position export in gs copy shaders Samuel Iglesias Gonsálvez (1): intel/nir: do not apply the fsin and fcos trig workarounds for consts Samuel Pitoiset (11): radv: allow to enable VK_AMD_shader_ballot only on GFX8+ radv: add a new debug option called RADV_DEBUG=noshaderballot radv: force enable VK_AMD_shader_ballot for Wolfenstein Youngblood ac: fix exclusive scans on GFX8-GFX9 radv/gfx10: don't initialize VGT_INSTANCE_STEP_RATE_0 radv/gfx10: do not use NGG with NAVI14 radv: fix getting the index type size for uint8_t nir: do not assume that the result of fexp2(a) is always an integral radv: fix allocating number of user sgprs if streamout is used radv: fix loading 64-bit GS inputs radv/gfx10: fix VK_KHR_pipeline_executable_properties with NGG GS Sergii Romantsov (2): intel/dri: finish proper glthread nir/large_constants: more careful data copying Tapani Pälli (5): util: fix os_create_anonymous_file on android iris/android: fix build and link with libmesa_intel_perf egl: reset blob cache set/get functions on terminate iris: close screen fd on iris_destroy_screen egl: check for NULL value like eglGetSyncAttribKHR does Thong Thai (1): Revert "radeonsi: don't emit PKT3_CONTEXT_CONTROL on amdgpu" Timur Kristóf (1): st/nine: Properly initialize GLSL types for NIR shaders. Vinson Lee (2): swr: Fix build with llvm-9.0 again. travis: Fail build if any command in if statement fails.
2019-10-18 11:57:07 +02:00
#
# Vulkan support - experimental
#
.if !empty(PKG_OPTIONS:Mvulkan)
MESON_ARGS+= -Dvulkan-drivers="auto"
.else
MESON_ARGS+= -Dvulkan-drivers=""
.endif
#
# X11 support
#
.if !empty(PKG_OPTIONS:Mx11)
MESA_PLATFORMS+= x11
PLIST.glx= yes
. if ${MESALIB_SUPPORTS_DRI} == "yes"
MESON_ARGS+= -Dglx=dri
. include "../../multimedia/libvdpau/available.mk"
. if ${VDPAU_AVAILABLE} == "yes"
MESON_ARGS+= -Dgallium-vdpau=true
PLIST.vdpau= yes
. include "../../multimedia/libvdpau/buildlink3.mk"
MesaLib: Update to 19.1.4 Upstream has replaced their autotools-based build system with Meson. Thanks to fox@ for testing on Linux. New features: * 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 * 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.
2019-08-22 19:24:01 +02:00
. else
MESON_ARGS+= -Dgallium-vdpau=false
. endif
. endif
. include "../../x11/libX11/buildlink3.mk"
. include "../../x11/libXdamage/buildlink3.mk"
. include "../../x11/libXext/buildlink3.mk"
. include "../../x11/libXfixes/buildlink3.mk"
. include "../../x11/libXrandr/buildlink3.mk"
. include "../../x11/libXxf86vm/buildlink3.mk"
. include "../../x11/libxcb/buildlink3.mk"
. include "../../x11/libxshmfence/buildlink3.mk"
. include "../../x11/xcb-proto/buildlink3.mk"
. include "../../x11/xorgproto/buildlink3.mk"
.else
MESON_ARGS+= -Dglx=disabled
MESON_ARGS+= -Dgallium-vdpau=false
.endif
#
# Wayland support
#
.if !empty(PKG_OPTIONS:Mwayland)
MESA_PLATFORMS+= wayland
PLIST.wayland= yes
. include "../../devel/wayland/buildlink3.mk"
. include "../../devel/wayland-protocols/buildlink3.mk"
.endif