From 5b5d29650b7fc2183df5129ef7f7ba855699b57c Mon Sep 17 00:00:00 2001 From: wangmy Date: Mon, 22 Nov 2021 22:58:32 +0800 Subject: mesa: upgrade 21.2.5 -> 21.3.0 New features: VK_EXT_color_write_enable on lavapipe GL_ARB_texture_filter_anisotropic in llvmpipe Anisotropic texture filtering in lavapipe VK_EXT_shader_atomic_float2 on Intel and RADV. VK_EXT_vertex_input_dynamic_state on RADV. VK_KHR_timeline_semaphore on lavapipe VK_EXT_external_memory_host on lavapipe GL_AMD_pinned_memory on llvmpipe GL 4.5 compatibility on llvmpipe VK_EXT_primitive_topology_list_restart on RADV and lavapipe. ES 3.2 on zink VK_KHR_depth_stencil_resolve on lavapipe VK_KHR_shader_integer_dot_product on RADV. OpenGL FP16 support on llvmpipe VK_KHR_shader_float16_int8 on lavapipe VK_KHR_spirv_1_4 on lavapipe Experimental raytracing support on RADV VK_KHR_synchronization2 on Intel NGG shader based culling is now enabled by default on GFX10.3 on RADV. VK_KHR_maintenance4 on RADV VK_KHR_format_feature_flags2 on RADV. EGL_EXT_present_opaque on wayland Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- meta/recipes-graphics/mesa/mesa-gl_21.2.5.bb | 16 ---------------- meta/recipes-graphics/mesa/mesa-gl_21.3.0.bb | 16 ++++++++++++++++ meta/recipes-graphics/mesa/mesa.inc | 2 +- meta/recipes-graphics/mesa/mesa_21.2.5.bb | 5 ----- meta/recipes-graphics/mesa/mesa_21.3.0.bb | 5 +++++ 5 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 meta/recipes-graphics/mesa/mesa-gl_21.2.5.bb create mode 100644 meta/recipes-graphics/mesa/mesa-gl_21.3.0.bb delete mode 100644 meta/recipes-graphics/mesa/mesa_21.2.5.bb create mode 100644 meta/recipes-graphics/mesa/mesa_21.3.0.bb (limited to 'meta/recipes-graphics') diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.2.5.bb b/meta/recipes-graphics/mesa/mesa-gl_21.2.5.bb deleted file mode 100644 index 142bb743b1..0000000000 --- a/meta/recipes-graphics/mesa/mesa-gl_21.2.5.bb +++ /dev/null @@ -1,16 +0,0 @@ -require mesa.inc - -SUMMARY += " (OpenGL only, no EGL/GLES)" - -PROVIDES = "virtual/libgl virtual/mesa" - -S = "${WORKDIR}/mesa-${PV}" - -# At least one DRI rendering engine is required to build mesa. -# When no X11 is available, use osmesa for the rendering engine. -PACKAGECONFIG ??= "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" -PACKAGECONFIG:class-target = "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" - -# 21.0.0 version fails to build when any driver is enabled in DRIDRIVERS -# ./mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system -DRIDRIVERS ?= "" diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.3.0.bb b/meta/recipes-graphics/mesa/mesa-gl_21.3.0.bb new file mode 100644 index 0000000000..142bb743b1 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa-gl_21.3.0.bb @@ -0,0 +1,16 @@ +require mesa.inc + +SUMMARY += " (OpenGL only, no EGL/GLES)" + +PROVIDES = "virtual/libgl virtual/mesa" + +S = "${WORKDIR}/mesa-${PV}" + +# At least one DRI rendering engine is required to build mesa. +# When no X11 is available, use osmesa for the rendering engine. +PACKAGECONFIG ??= "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" +PACKAGECONFIG:class-target = "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" + +# 21.0.0 version fails to build when any driver is enabled in DRIDRIVERS +# ./mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system +DRIDRIVERS ?= "" diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index b687f8e4ab..ed60d98250 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -21,7 +21,7 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \ " -SRC_URI[sha256sum] = "8e49585fb760d973723dab6435d0c86f7849b8305b1e6d99f475138d896bacbb" +SRC_URI[sha256sum] = "a2753c09deef0ba14d35ae8a2ceff3fe5cd13698928c7bb62c2ec8736eb09ce1" UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)" diff --git a/meta/recipes-graphics/mesa/mesa_21.2.5.bb b/meta/recipes-graphics/mesa/mesa_21.2.5.bb deleted file mode 100644 index 4cb7e80eb5..0000000000 --- a/meta/recipes-graphics/mesa/mesa_21.2.5.bb +++ /dev/null @@ -1,5 +0,0 @@ -require ${BPN}.inc -DRIDRIVERS ??= "" -DRIDRIVERS:append:x86:class-target = ",r100,r200,nouveau,i965" -DRIDRIVERS:append:x86-64:class-target = ",r100,r200,nouveau,i965" - diff --git a/meta/recipes-graphics/mesa/mesa_21.3.0.bb b/meta/recipes-graphics/mesa/mesa_21.3.0.bb new file mode 100644 index 0000000000..4cb7e80eb5 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa_21.3.0.bb @@ -0,0 +1,5 @@ +require ${BPN}.inc +DRIDRIVERS ??= "" +DRIDRIVERS:append:x86:class-target = ",r100,r200,nouveau,i965" +DRIDRIVERS:append:x86-64:class-target = ",r100,r200,nouveau,i965" + -- cgit 1.2.3-korg