summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa.inc
Commit message (Collapse)AuthorAgeFilesLines
* tcmode-default.inc: set LLVMVERSION to a major version wildcardAlexander Kanavin2022-12-261-1/+1
| | | | | | | | | | | | | | | There is no longer need to be specific: none of the recipes using this variable in core need to know the particular version of llvm exactly when using the default one set via PREFERRED_VERSION from LLVMVERSION. This as well enables automated version updates of llvm for minor releases. (From OE-Core rev: f0ab1736438f6f23603e3694dc2f0b724b103722) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable glvnd supportVincent Davis Jr2022-11-291-6/+14
| | | | | | | | | | | | | Allows mesa to be built with glvnd support. Thus, creates libEGL_mesa.so* and libGLX_mesa.so* mesa(vendor) libraries meant to coexist with vendor neutral dispatch libraries from libglvnd. (From OE-Core rev: 1c0577d66b5c26b9b248797f17d652daf6d9dfd1) Signed-off-by: Vincent Davis Jr <vince@underview.tech> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: do not rely on native llvm-config in target sysrootAlexander Kanavin2022-11-151-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sadly the magic is not perfect: llvm-config contains a hardcoded value for the libdir from the native configuration, and things will break if the target build installs libraries somewhere else (e.g. lib64). llvm-config in target bindir also needs a rpath adjustment, otherwise it simply won't even run when e.g. building for arm on x86. To avoid patching llvm-source let's simply add more cases to the llvm-config wrapper script, so that falling through to llvm-config binary is avoided. Fortunately those cases are all static in what they return, even though llvm-config binary does poke around the file tree to arrive at them (which is where breakage happens if native and target don't match exactly wrt libdir). I verified that this works by building mesa with llvm enabled for qemuarm64 and with baselib set to 'lib64' - so that both the target architecture and target libdir differ from native ones. Upstream tickets: https://github.com/llvm/llvm-project/issues/58984 https://github.com/mesonbuild/meson/issues/11043 (From OE-Core rev: 056431883e94296b767a479d029b914392e4fd7c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.2.2 -> 22.2.3Wang Mingyu2022-11-141-1/+1
| | | | | | | | (From OE-Core rev: d7037207e5c7d93031311b3ad88e4548ce8bb47a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 22.2.0 -> 22.2.2Markus Volk2022-10-281-1/+3
| | | | | | | | | | - add a PACKAGECONFIG for perfetto support (From OE-Core rev: cbcaff0b4cc349706b9847f4262746b43adba209) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Add native patch via a variableKhem Raj2022-10-261-2/+3
| | | | | | | | | | | | This helps override the SRC_URI in entirety if needed by and overriding recipe (From OE-Core rev: 42a0cb57503dff5ac2404f83353661fe9f987e5d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Kai Kang <kai.kang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: only apply patch to fix ALWAYS_INLINE for nativeKai Kang2022-10-261-1/+3
| | | | | | | | | | | | | | | | | | | | | 0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not needed by target mesa any more. But it still fails to compile mesa-native without this patch when DEBUG_BUILD is enabled on Ubuntu 18.04 with gcc 7.5.0: | ../mesa-22.1.6/src/compiler/nir/nir_inline_helpers.h: In function ‘nir_opt_move_block’: | ../mesa-22.1.6/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to always_inline ‘src_is_ssa’: indirect function call with a yet undetermined callee | src_is_ssa(nir_src *src, void *state) | ^~~~~~~~~~ So only apply it for mesa-native. (From OE-Core rev: c6a6d0c2680799683d58968c2558a224f27caaa2) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.1.6 -> 22.2.0Markus Volk2022-09-221-8/+8
| | | | | | | | | | | | | | | | | - add PACKAGECONFIG to build vulkan beta drivers - add PACKAGECONFIG for zink and build it along with vulkan - remove TLS-ELF patch and the associated PACKAGECONFIG. It looks like its unneeded - remove swrast_kms backport patch - remove the patch that reverts the deprecation of drm_handle as it is not applicable. Still needed ? - fix patch fuzz warnings License file has been changed, but no change of licenses https://gitlab.freedesktop.org/mesa/mesa/-/commit/e6392fcf3d8b8dd7e3a8427755d8be2f2332366a (From OE-Core rev: a85d0566c0e09e7ccd394c6465305ab97ce5973a) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: build clover with native LLVM codegen support for freedrenoAndrey Konovalov2022-09-011-1/+2
| | | | | | | (From OE-Core rev: fbd9d6643ff0b345fa0e3b369eabc0efefeac5e3) Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: add pipe-loader's libraries to libopencl-mesa packageAndrey Konovalov2022-09-011-1/+1
| | | | | | | | | clover needs those. (From OE-Core rev: 86dd7b1c968ad5d953771b5383e10ec50addc53c) Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Rework llvm handlingRichard Purdie2022-08-311-4/+10
| | | | | | | | | | | | meson in mesa no longer uses WANT_LLVM_RELEASE and LLVM_CONFIG so drop those. Instead, copy the llvm-config binary into the target sysroot which allows the paths to be relocated to the target in question. This should allow the llvm patch for YOCTO_ALTERNATE_EXE_PATH to be dropped assuming nothing else relies upon it. (From OE-Core rev: 1dfb29a66f0db673c9d6faffed9b5bd855b206e1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.1.5 -> 22.1.6Alexander Kanavin2022-08-211-1/+1
| | | | | | | | (From OE-Core rev: 9ebbd72d3e9f8b717c41196f50c51dc06dca92c5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.1.3 -> 22.1.5Alexander Kanavin2022-08-101-1/+1
| | | | | | | | (From OE-Core rev: 53e96ef9dfb2248000d347e681d906cb20855371) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust/mesa: Drop obsolete YOCTO_ALTERNATE_MULTILIB_NAMERichard Purdie2022-08-081-1/+0
| | | | | | | | This variable is no longer used by the llvm patches. (From OE-Core rev: 35e1ecf88cf9725e1ba43c948e90359df983002f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix compile error when debug build enabledKai Kang2022-07-281-0/+1
| | | | | | | | | | | | | | | | | | It fails to compile mesa{,-native} when DEBUG_BUILD is enabled: ../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h: In function ‘nir_opt_move_block’: ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to always_inline ‘src_is_ssa’: indirect function call with a yet undetermined callee src_is_ssa(nir_src *src, void *state) ^~~~~~~~~~ Backport patch from mesa merge request to fix it. (From OE-Core rev: 468715c42632a8467dc1f0abe0f3cd540de5f7c3) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.1.2 -> 22.1.3Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: c10c10e99956231b9dfb98fbe4653c54aa5cddf1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/recipes: Introduce add DEV_PKG_DEPENDENCY to change ↵Richard Purdie2022-06-281-1/+1
| | | | | | | | | | | | RDEPENDS:${PN}-dev There is a pattern that several recipes need to break the dependency of ${PN}-dev on ${PN}, most often as ${PN} may be be empty. Add a new variable to parameterise this and allow it to be changed more easily. (From OE-Core rev: a5b381c0f45c590a762647a9956a8f41e2e2315e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update 22.0.3 -> 22.1.2Alexander Kanavin2022-06-221-1/+2
| | | | | | | | (From OE-Core rev: d5b2e40be6d6e4c52078ab5a087eefaa7330c320) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: backport a patch to support compositors without zwp_linux_dmabuf_v1 againMartin Jansa2022-06-171-0/+1
| | | | | | | | | | * the same will be needed for kirkstone (From OE-Core rev: 3857066550d77c2c8134326f7e9b28d0f4d78b7a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa.inc: package 00-radv-defaults.confMarkus Volk2022-05-211-1/+1
| | | | | | | | | | | | | | | this fixes: ERROR: mesa-2_22.0.2-r0 do_package: QA Issue: mesa: Files/directories were installed but not shipped in any package: /usr/share/drirc.d/00-radv-defaults.conf Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. mesa: 1 installed and not shipped files. [installed-vs-shipped] (From OE-Core rev: e306dd7d300727852a2794cd78f3097d5999eb58) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.0.2 -> 22.0.3Alexander Kanavin2022-05-201-1/+1
| | | | | | | | (From OE-Core rev: 2f5831ec66c6a7e7b0f21a63cc46307aa68c5b96) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.0.0 -> 22.0.2Alexander Kanavin2022-05-051-1/+1
| | | | | | | | (From OE-Core rev: f3e9444968fd47b3c8e0b2ee7b1b17f43a6bd56b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* llvm: use default install pathsAlexander Kanavin2022-04-191-1/+1
| | | | | | | | | | | | | | | | | There was a very brittle sed hack against cpp source code that allowed installing multiple llvm versions into the same target/sysroot. Patching with sed is prone to silent regressions as it can change both too little and too much, and it indeed it broke with llvm 14. It's also difficult to tell what the 'right' change should look like. If this feature is actually needed somewhere, please do it properly: proper patch and upstream first. (From OE-Core rev: 974f67b18a2f1a15c76785d69e7234594af97a88) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Allow building Mesa's OpenCL through PACKAGECONFIGZoltán Böszörményi2022-03-181-2/+10
| | | | | | | (From OE-Core rev: 78d17787eb4dd65dacde785dbb47359726c22173) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: align target- and native buildMarkus Volk2022-03-171-10/+8
| | | | | | (From OE-Core rev: bfa40b777f08bab97263559a1f91200005eb180c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: update to 22.0.0Markus Volk2022-03-151-9/+6
| | | | | | | | | | | | | | | | | | | - remove 0001-v3dv-account-for-64bit-time_t-on-32bit-arches.patch that was applied upstream - adjust 0002-meson.build-make-TLS-ELF-optional.patch - fix patch fuzz - DRI1 drivers have been removed! For all AMD/Nvidia Cards gallium-llvm is required License-Update: removed references to deleted code. RP: Fix dri PACKAGECONFIG reference to opengl instead (From OE-Core rev: 325ea352a8326f3b35a8a591f8f7a7dfa890cbcb) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "mesa: make sure GLES3 headers are installed"Richard Purdie2022-03-131-3/+0
| | | | | | | | This reverts commit 7c6effef9d471efbaea76e23e91938687fcc661c. It uses old overrides syntax which simply doesn't work. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: make sure GLES3 headers are installedSamuli Piippo2022-03-091-0/+3
| | | | | | | | | | | | Since there is no libgles3-mesa package that would pull in the headers, add dependency to libgles2-mesa-dev. Now there no need to manually add GLES3 headers to image or toolchain. (From OE-Core rev: 7c6effef9d471efbaea76e23e91938687fcc661c) Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.3.6 -> 21.3.7wangmy2022-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= Bug fixes --------- lavapipe: dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_3.step fails ANV: Bad output from TransformFeedback . Regression from Mesa 21. Something to do with VB+XFB -> VB+XFB dependency? Changes ------- pan/bi: Avoid *FADD.v2f16 hazard in optimizer pan/bi: Avoid *FADD.v2f16 hazard in scheduler pan/bi: Lower swizzles on CSEL.i32/MUX.i32 panvk: Use more reliable assert for UBO pushing radv: Fix preamble argument order. ir3/spill: Fix simplify_phi_nodes with multiple loop nesting lavapipe: fix sampler + sampler view leaks. lavapipe: reference gallium fences correctly. crocus: fix leak on gen4/5 stencil fallback blit path. i915g: Initialize the rest of the "from_nir" temporary VS struct. pick_status.json: Update to dabba7d7263be6ffb6f3676465e92c65952fa824 pick_status.json: Mark b07372312d7053f2ef5c858ceb1fbf9ade5e7c52 as denominated gallivm/nir: Call nir_lower_bool_to_int32 after nir_opt_algebraic_late nir: All set-on-comparison opcodes can take all float types intel/fs: Don't optimize out 1.0*x and -1.0*x spriv: Produce correct result for GLSLstd450Step with NaN spirv: Produce correct result for GLSLstd450Modf with Inf spirv: Produce correct result for GLSLstd450Tanh with NaN nir: Properly handle various exceptional values in frexp nir: Produce correct results for atan with NaN nir: Add missing dependency on nir_opcodes.py anv: Call vk_command_buffer_finish if create fails dri: avoid NULL deref of DrawBuffer on flush nir: fix lower_memcpy anv/genxml/intel/fs: fix binding shader record entry anv: don't set color state when input state was requested ac/surface: add more elements to meta equations because HTILE can use them lavapipe: use util_pack_color_union() for generating clear colors aux/draw: fix llvm tcs lane vec generation zink: always set VkPipelineMultisampleStateCreateInfo::pSampleMask zink: always invalidate streamout counter buffer if not resuming iris: Don't fast clear with the view format r300: fix transformation of abs modifiers with negate radeonsi: workaround Specviewperf13 Catia hang on GFX9 radeonsi: fix depth stencil multi sample texture blit glx: fix pbuffer refcount init radv/winsys: fix initializing debug/perftest options if multiple instances intel/genxml: add PIPE_CONTROL field for L3 read only cache invalidation anv: invalidate L3 read only cache when VF cache is invalidated iris: invalidate L3 read only cache when VF cache is invalidated iris: fix a leak on surface states mesa/st: always use DXT5 when transcoding ASTC format tegra: Use private reference count for sampler views tegra: Use private reference count for resources radv: Disable IB2 on compute queues. venus: properly destroy deferred ahb image before real image creation (From OE-Core rev: 31daf916d218d5e6e95bac857cbeb0d44901e4b3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.3.5 -> 21.3.6wangmy2022-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= Bug fixes --------- radv: CullDistance fail i965: Segmentation fault during glinfo context destruction, regression in 21.3.x Vulkan Wayland WSI returns empty surface formats [REGRESSION][BISECTED] iris: Qutebrowser/QtWebEngine sporadically flashes the window in white Flickering Intel Uhd 620 Graphics Broken Terraria & Glitches in Forza Horizon 4 Changes ------- Revert "nir/algebraic: distribute fmul(fadd(a, b), c) when b and c are constants" anv: Fix subgroupSupportedStages physical property Revert "zink: handle vertex buffer offset overflows" ir3: Fix copy-paste mistakes in ir3_block_remove_physical_predecessor() ir3/cp: ir3: Prevent propagating shared regs out of loops harder ir3: opt_deref in opt loop to remove unnecessary tex casts crocus: find correct relocation target for the bo. vulkan: Fix leak of error messages pick_status.json: Update to cb781fc350108584116280fc597c695d2f476c68 pick_status.json: Mark 15e77504461a30038a054c87cc53a694171c9cf4 as denominated pick_status.json: Mark 960e72417f3e8885699cf384f690853e14ba44da as denominated intel/fs: Take into account region strides during SIMD lowering decision of SHUFFLE. vulkan/wsi/wayland: Fix add_wl_shm_format alpha/opaqueness. vulkan/wsi/wayland: Convert missing vulkan formats to shm formats. vulkan/wsi/wayland: Add modifiers for RGB formats. vulkan/wsi/wayland: Fix add_drm_format_modifier aplha/opaqueness. anv/pass: Don't set first_subpass_layout for stencil-only attachments vulkan/wsi: Set MUTABLE_FORMAT_BIT in the prime path i965: Avoid NULL drawbuffer in brw_flush_front intel/fs: don't set allow_sample_mask for CS intrinsics intel/nir: fix shader call lowering panvk: Fix pointer corruption in panvk_add_wait_event_syncobjs zink: never use SpvOpImageQuerySizeLod for texel buffers zink: reorder fbfetch flag-setting to avoid null deref zink: fix vertex buffer mask computation for null buffers zink: clamp tbo creation to maxTexelBufferElements zink: add vertex shader pipeline bit for generated barrier construction zink: fix waiting on current batch id zink: cast image atomic op params/results based on image type zink: use SpvScopeDevice over SpvScopeWorkgroup for atomic shader ops zink: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS llvmpipe: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS llvmpipe: ci updates zink: add VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT for query binds zink: fix PIPE_CAP_TGSI_BALLOT export conditional zink: reject invalid draws zink: min/max blit region in coverage functions anv: Disable CCS_E for some 8/16bpp copies on TGL+ anv: Use ANV_FAST_CLEAR_DEFAULT_VALUE for CCS on TGL+ anv: Re-enable CCS_E on TGL+ iris: implement inter-context busy-tracking aco: fix neg(abs(mul(a, b))) if the mul is not VOP3 aco: don't encode src2 for v_writelane_b32_e64 radv: fix R_02881C_PA_CL_VS_OUT_CNTL with mixed cull/clip distances radv/winsys: fix missing buffer_make_resident() for the null winsys tu: VkExternalImageFormatProperties is optional (From OE-Core rev: 05e45cb04e72d369aa6db1793cd010096db3cc09) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.3.4 -> 21.3.5Alexander Kanavin2022-02-051-1/+1
| | | | | | | (From OE-Core rev: 956915d8829ce1db8e115cd31133ff0543e1054c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.3.3 -> 21.3.4wangmy2022-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Bug fixes --------- i965: gen5 exposes EXT_texture_integer incorrectly [radeonsi, regression, bisected]: Rendering issues with Factorio mesa >= 21.x (with llvmpipe) will break the game JVGS Panfrost - RK3399 - FACTORIO - glitches everywhere Baldurs Gate 3 (Patch 6) - ribbon-like artifacts on textures Game Starsector crashes under certain circumstances with mesa 21.3.+ FreeSpace models incorrectly rendered on Polaris cards, causing system freeze Incomplete evaluation of nested DEFINE macros [r300g, bisected] piglit glsl-fs-discard-04 fails Panfrost G52 Firefox terrible glitches on youtube playback Changes ------- pan/bi: Fix load_const of 1-bit booleans gallium/util: Add pixel->blocks box helper lima,panfrost: Correct pixel vs block mismatches radv: Set optimal copy alignment to 1. microsoft/compiler: Fix dxil_nir_create_bare_samplers() ir3/ra: Fix logic bug in compress_regs_left ir3: Bump type mismatch penalty to 3 aco: don't allow SDWA on VOP3P instructions aco: validate VOP3P opsel correctly tu: fix workaround for depth bounds test without depth test intel/genxml/gen4-5: fix more Raster Operation in BLT to be a uint crocus: fail resource allocation properly. freedreno/afuc: Disable the disassembler on 32-bit builds. i915g: Turn off FP16 in the vertex shaders. r300: Fix omod failing to increase the number of channels stored. nir_to_tgsi: Fix a bug in TXP detection after backend lowering. pick_status.json: Update to 8a78706643ecad8a1f303cc9358873abc29978b4 pick_status.json: Mark 00bea38242d97e7ace1954f1bc7d32cbf0ce3ee0 as denominated pick_status.json: Mark 2a0253b9b5d21c7571555abe3a1d851468a18740 as denominated r300: fix handling swizzle in transform_source_conflicts intel/compiler/test: Fix build with GCC 7 i965: Disable EXT_texture_integer on Gfx4 and Gfx5 Revert "anv: Stop doing too much per-sample shading" anv: don't leave anv_batch fields undefined anv: limit compiler valid color outputs using NIR variables intel/dev: fixup chv workaround etnaviv: initialize vertex attributes on context reset etnaviv: drm: fix size limit in etna_cmd_stream_realloc etnaviv: drm: properly handle reviving BOs via a lookup zink: fix -Warray-bounds warning radv: fix xfb query copy param ordering zink: always unset vertex shader variant key data when changing last vertex stage zink: add extra synchronization for buffer descriptor binds zink: use device-local heap for sparse backing allocations r300: Remove broken optimization in rc_transform_KILL radeonsi/gfx8: use the proper dcc clear size vbo/dlist: fix loopback crash vbo/dlist: add vertices to incomplete primitives radeonsi/gfx10: fix si_texture_get_offset for mipmapped tex glapi: should not add alias function to static_data.py aco: remove pack_half_2x16(a, 0) optimization intel/fs: OpImageQueryLod does not support arrayed images as an operand v3dv: Hotfix: Rename remaining V3DV_HAS_SURFACE->V3DV_USE_WSI_PLATFORM radv: add drirc radv_disable_htile_layers and enable it for F1 2021 iris: unref syncobjs and free r/w dependencies array for slab entries mesa: free idalloc storage for display lists mesa: free vbo_save_vertex_list store prims glsl/glcpp: make sure to expand new token after concatenation venus: subtract appended header size in vn_CreatePipelineCache Fix compilation on armv7l with gcc 11.2.0 (From OE-Core rev: 3cdb743ec048aa06c10e0da0fb3feb1ca740b6e2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: 21.3.1 -> 21.3.3Otavio Salvador2022-01-051-1/+1
| | | | | | | | | | | | | | Upgrade to 21.3.3 stable release. It includes bugfixes and minor improvements, for more detailed information about the included changes refer to the specific release notes: - 21.3.2: https://docs.mesa3d.org/relnotes/21.3.2.html - 21.3.3: https://docs.mesa3d.org/relnotes/21.3.3.html (From OE-Core rev: 6982e2d66bd8296a3f67c72636ce015d328377d0) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: make ligles3-dev RDEPENDS on libgles2-devQuentin Schulz2021-12-141-2/+6
| | | | | | | | | | | | | | | | Khronos documentation[1] says that include/GLES2/gl2ext.h can be used for OpenGL ES 3 specification as well as for OpenGL ES 2. There can be applications including GLES2/gl2ext.h instead of GLES3/gl3ext.h meaning we should probably bring in GLES2/gl2ext.h if someone asks for development package of libgles3. [1] https://www.khronos.org/registry/OpenGL/index_es.php#headers Cc: Quentin Schulz <foss+yocto@0leil.net> (From OE-Core rev: 8adf941a8a2b5b3fe5e4e3313856b725e28d5370) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: PROVIDES virtual/libgles3Quentin Schulz2021-12-141-1/+1
| | | | | | | | | | | | It's assumed that not all OpenGL ES implementation are compliant with the 3.x specification. Therefore an additional virtual providers is created to explicit compatibility with OpenGL ES 3 specification. Cc: Quentin Schulz <foss+yocto@0leil.net> (From OE-Core rev: 405cd7a37988ced627fe6ad6fd3089c17f59367e) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.3.0 -> 21.3.1Alexander Kanavin2021-12-091-1/+1
| | | | | | | (From OE-Core rev: 1970fd5764adff10a5d7e643aeea7ce40d318f26) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Define broadcom packageconfig knobKhem Raj2021-12-081-0/+1
| | | | | | | | | | Fixes ERROR: mesa-2_21.3.0-r0 do_configure: QA Issue: mesa: invalid PACKAGECONFIG: broadcom [invalid-packageconfig] (From OE-Core rev: 6add96e4af46eaabb6c70e3ce3a27a4b198d7cb6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix broadcom vulkan driver build on 32bit arches with 64bit time_tKhem Raj2021-12-081-0/+1
| | | | | | | (From OE-Core rev: 42067ccbf465197ab8d5d6be6d15b71a526decf8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Fix build on ARM systems without NeonKhem Raj2021-12-081-0/+1
| | | | | | | | | | | | See [1] [1] https://github.com/YoeDistro/yoe-distro/issues/626 (From OE-Core rev: 48c898ae4e885d9f3af894d77946e5eb3a498112) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.2.5 -> 21.3.0wangmy2021-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 5b5d29650b7fc2183df5129ef7f7ba855699b57c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Add PACKAGECONFIG option for broadcom v3d Vulkan driverJoel Winarske2021-11-071-0/+1
| | | | | | | | | Enables building the Vulkan 1.1 compliant v3d driver. (From OE-Core rev: 8cc28b231b821bb9669eb3980281d27399f378be) Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.2.4 -> 21.2.5Alexander Kanavin2021-11-031-1/+1
| | | | | | | (From OE-Core rev: 24e8b9af5188405fdc72e42c26d95f0749e91a0c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.2.1 -> 21.2.4Pablo Saavedra Rodi?o2021-10-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Contains 'Make YUV formats we're going to emulate external-only' [1] was applied in 21.2.4. This fixes red label issues on video for VC4, Freedreno and others. Deletes meta/recipes-graphics/mesa/files/without-neon.patch [2] already in Mesa since 21.2. Release notes: * 21.2.2: https://docs.mesa3d.org/relnotes/21.2.2.html * 21.2.3: https://docs.mesa3d.org/relnotes/21.2.3.html * 21.2.4: https://docs.mesa3d.org/relnotes/21.2.4.html [1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13038 [2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12569 (From OE-Core rev: 51fccaa16a3cb78ace077ba593b6cdde5e085528) Signed-off-by: Pablo Saavedra <psaavedra@igalia.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Enable svga for x86 onlyKhem Raj2021-10-161-1/+3
| | | | | | | | | | | Enable svga only on x86/x86_64 since some arches e.g. riscv64 do not support it (From OE-Core rev: d7d380a45ab0efedcba33baaae37589da4d25a2b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Ensure megadrivers runtime mappings are deterministicRichard Purdie2021-10-021-1/+1
| | | | | | | | Add a sort to ensure the package dependency output is determnistic. (From OE-Core rev: 693e8d0dfe0b475bc233ccc1ad7674d39de346ce) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: enable crocus driver for older intel graphicsAlexander Kanavin2021-09-021-3/+2
| | | | | | | | | | | | | | See here for the full story: https://www.phoronix.com/scan.php?page=news_item&px=Intel-Crocus-Default-Gallium3D Once crocus does become the default over i965, upstream is likely to retire classic pre-gallium drivers altogether, which (with the exception of i965, superseded by crocus) are all for retrocomputing hardware. (From OE-Core rev: dfc5f935b5b1759f73b2ddd86d2b291436dbc705) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: fix build on Arm V5 with soft floatRoss Burton2021-09-021-0/+1
| | | | | | | | | | | | | | | | | Since 80923e8d ("util/format: Add some NEON intrinsics-based u_format_unpack.") upstream the build fails on Arm platforms which use the soft-float ABI, such as qemuarmv5: arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard" Take a patch from upstream to check the ABI being used before trying to use NEON instructions. (From OE-Core rev: f3d82abb781c2642a50a60033641194d1e40c212) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.1.5 -> 21.2.1Alexander Kanavin2021-08-231-1/+1
| | | | | | | (From OE-Core rev: 0d0a0902fe8db8a87c16be3b722e3b8d5f193785) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 21.1.5 -> 21.1.7Andreas Müller2021-08-181-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Joshua's vc4/v3d/dma-patch was applied in 21.1.7 Release notes 21.1.7: Bug fixes Miscompilation of a switch case [radeonsi][regression] CPU is being used ~10 times more than usual after c5478f9067f. dEQP-VK.wsi.android.swapchain.create#image_swapchain_create_info crash on Android R The image is distorted while use iGPU(Intel GPU) rendering and output via dGPU (AMD GPU) lima: regression in plbu scissors cmd Incorrect rendering Changes pan/bi: Restrict swizzles on same cycle temporaries nir/lower_mediump_io: Don’t remap base unless needed nir/lower_mediump: Fix metadata in all passes util/fossilize_db: Update parsed_offset correctly. util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure. util/fossilize_db: Flush files after header write. util/fossilize_db: Be conservative about header length check for locking. util/fossilize_db: Only allocate entries after full read. util/fossilize_db: Use uint64_t for file size. util/fossilize_db: Unlock the cache file if the entry already exists. util/fossilize_db: Add extra flock mutex. radv: Allocate space for inline push constants. vulkan/wsi/x11: do not inherit last_present_mode ir3: Preserve gl_ViewportIndex in the binning shader teximage: return correct desktop GL error for compressedteximage intel/fs: restrict max push length on older GPUs to a smaller amount virgl: disable anisotropic filtering. freedreno/ir3: Add build id to the disassembler test .pick_status.json: Update to 7055282231cdad23e7b23fb49a2f953a99797f8a .pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144 .pick_status.json: Mark 6ccf11ac2b951963407601b5b1109b45a972e48e as denominated .pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144 .pick_status.json: Update to 353e6323936b812884fa677c25bdba91554881b7 .pick_status.json: Update to 4128acdee32eadfef1fb8c3c3ce2e512a267cdf4 pick-ui: drop assert that optional argument is passed pick-ui: show nomination type in the UI pick-ui: show commit date lima: avoid crash with negative viewport values zink: make codegen compatible with python 3.5 mesa/main: Check for fbo attachments when importing EGL images to textures v3d, vc4: Fix dmabuf import for non-scanout buffers gallium/hud: initialize query nv30: fix emulated vertex index buffers gallium: Reset {d,r}Priv in dri_unbind_context loader/dri3: create linear buffer with scanout support anv: fix submission batching with perf queries anv: don’t try to access Android swapchains renderonly: don’t complain when GPU import fails etnaviv: always try to create KMS side handles for imported resources glsl: evaluate switch expression once zink: use array size in spirv bo length calculations etnaviv: fix gbm_bo_get_handle_for_plane for multiplanar images clover/spirv: Properly size 3-component vector args clover/nir: Set constant buffer pointer size to host gallium/va: don’t use key=NULL in hash tables amd/registers: fix fields conflict detection radeonsi: don’t create an infinite number of variants nir/algebraic: fix imod by negative power-of-two radv: fix selecting the first active CU when profiling with SQTT etnaviv: fix renderonly check in etna_resource_alloc etnaviv: fail in get_handle(TYPE_KMS) without a scanout resource freedreno: fail in get_handle(TYPE_KMS) without a scanout resource panfrost: fail in get_handle(TYPE_KMS) without a scanout resource lima: fail in get_handle(TYPE_KMS) without a scanout resource nine: Fix assert in tx_src_param intel/compiler: make sure swizzle is applied to if condition glsl: Add operator for .length() method on implicitly-sized arrays glsl: Properly handle .length() of an unsized array gallium/vl: don’t leak fd in vl_dri3_screen_create Release notes 21.1.6: Bug fixes [RADV] FSR in Resident Evil: Village looks very pixelated on Polaris Crash in update_buffers after closing KDE “splash screen” downloader Crash in update_buffers after closing KDE “splash screen” downloader radeonsi: persistent, read-only buffer maps are slow to read substance painter flickering with jagged texture and masks shown black radv: FP16 mode in FidelityFX FSR doesn’t look right [RADV] Blocky corruption in Scarlet Nexus and vkd3d-proton 2.4 Radeon RX580 and 5700 XT: Reloading ARB assembly shaders causes very glitchy rendering Changes targets/graw-xlib: Add missing dep_x11 egl/surfaceless: try kms_swrast before swrast meson: allow egl_native_platform to be specified freedreno/computerator: Fix local_size typo aco/optimizer: ensure to not erase high bits when propagating packed constants egl/wayland: Error on invalid native window egl/wayland: Allow EGLSurface to outlive wl_egl_window softpipe/aniso: move DDQ calculation to after scaling. llvmpipe: add support for time elapsed queries. .pick_status.json: Mark a9c9a9938d6d2ead6f08ccf5256c95801fbc864f as backported .pick_status.json: Update to 376fb4f55f080929df8ca5a2a975fc88a00eec06 .pick_status.json: Update to 1d6c790f9f6c373e667de955822b1048c7073ba3 .pick_status.json: Update to 73262d4bd4a4637a332264a165c62ce3209d03fb zink: remove duplicate format-mapping on little-endian vulkan: do not map zero-sized region of memory vulkan: allocate host-visible memory for swapchain images nir/gcm: Clear out pass_flags before starting iris: Re-emit MEDIA_VFE_STATE for variable group size shaders anv: Handle errors properly in anv_i915_query v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell lavapipe: Use common Vulkan format helpers broadcom/compiler: emit TMU flush before a jump nv50/ir/nir: fix smem size for GL radeonsi: don’t expose no-attachment MSAA 16x on all 1 RB chips due to issues st/mesa: always use PIPE_USAGE_STAGING for GL_MAP_READ_BIT usage egl/android: include “util/compiler.h” for FALLTHROUGH macro util/foz: stop crashing on destroy if prepare hasn’t been called radeonsi: Check aux_context on si_destroy_screen() mesa: clear shader_info::is_lowered in prog_to_nir mesa: fix bindless uniform samplers update aco: don’t create v_madmk_f32/v_madak_f32 from v_fma_legacy_f16 freedreno/ir3: Don’t force RTNE if rounding mode is undefined radv: only init the TC-compat ZRANGE metadata for the depth aspect glsl: replace some C++ code with C util: add workaround for Full Bore glsl: relax rule on varying matching for shaders older than 4.20 lima: handle fp16 vertex formats (From OE-Core rev: ce202e5f3f0eaceec2e23ebd1697f73c9fa00aaf) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Manual override fixesRichard Purdie2021-08-021-2/+2
| | | | | | | | | | The automated conversion of OE-Core to use the new override sytax isn't perfect. This patches some mis-converted lines and some lines which were missed by the automation. (From OE-Core rev: 4e9a06b64b43131b731fb59a0305f78a98e27fbd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>