From 29abc8ab75847d5e69ae8b36a66601eb3f959765 Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Wed, 12 Aug 2026 05:48:00 +0000
Subject: [PATCH] piglit: upgrade to latest revision

107825905 vulkan: Add test for divergent GS cut bits
06169021f ext_yuv_target: require GL_EXT_YUV_target for shader_runner tests
65f44948b fs-uint-to-float-of-extract-int*: Also support the alternative rounding.
2ba21df4b *-packHalf2x16.shader_test: Allow values to round to zero.
250cb0ce6 *-packHalf2x16.shader_test: Allow subnormals to flush to zero.
6cf48cf8e glx: fix visual test resource teardown order
ab113c4f1 glx-multithread-clearbuffer: synchronize version check
7cd2aa213 gl-1.0: test fixed-function fog on a floor straddling the eye
fee8b84aa arb_framebuffer_object: add test for oblong blits
cae34b151 ext_yuv_target: add NV12 sampling and rendering execution tests
2f480240d Tests for GL_EXT_YUV_target and EGL_EXT_YUV_surface
cbbb8f183 ext_texture_storage: test GLES2 NPOT level restrictions
110102701 ext_texture_storage: factor storage checks into a helper
7b1335738 ext_texture_storage: register formats test in the GPU profile
e41f57633 s3tc-errors: test level-zero NPOT images on GLES2
bf5d1cbdc generated_tests: fix incompatible pointer types in global address space CL kernels
fa1953546 glsl-1.50: test gl_PrimitiveID together with a user varying and no GS
9771f3e92 cl/api: adapt set-kernel-arg test for OpenCL 3.1 platform
c65972281 cl/api: skip CL_QUEUE_SIZE query on host command-queues
d690a61a0 cl/api: fix CL_DEVICE_MAX_MEM_ALLOC_SIZE minimum value check
e5c87380a cl/api: downgrade CL_KERNEL_ARG_INFO_NOT_AVAILABLE check from fail to warn
08ac49ecc glsl-1.10: test functions called only from global variable initializers
74fa6fb44 vulkan: Add test for cmat with non-constant uniform initializer
f5d95dbfe Add test for GL_POINT_SMOOTH
ee1b1e6fa gl-2.1/pbo: Allow subtest selection.
4fc59b500 gl-2.1/pbo: Add missing present_results.
7abe0a22d gl-2.1/pbo: Correct the location of bitmap/drawpixels's present_results().
b613ff666 piglit: Use the subtest name when the subtest option is NULL.
c92f1a6e8 ext_framebuffer_multisample/accuracy: widen full-pixel error threshold
a853ae0a8 ext_framebuffer_multisample/accuracy: accept sRGB-space MSAA resolve
9a0eab5e1 pixel-local-tests: use unsigned int instead of uint
6ae53fc12 glsl-fs-loop-unroll-mul-fp64.shader_test: Remove invalid equality tests.
7ad0f92c3 util/piglit_ktx: fix format specifier mismatch in error message
f505280a3 egl_khr_gl_image: fix memleak by terminating the context properly
29af1e16d waffle: fix leaking the EGL/DRI2 display when tests are skipped
48eb7c782 cl/program/build: fix double types to require cl_khr_fp64 or __opencl_c_fp64
d6234f3e4 ext_image_dma_buf_import: fix memleaks in case of failures
b079b2a58 glx: destroy resources properly to fix memleaks
547422968 Disable strict-aliasing analysis.
5e608d80c gl-3.2/layered-rendering: fix a memleak
8227c2795 arb_compute_shader: fix a memleak
97ab5eaf0 arb_pipeline_statistics_query: fix a memleak
64176e7bc ext_direct_state_access: fix memleaks
6d99a37fa arb_shader_storage_buffer: fix a memleak
4048186f9 arb_vertex_attrib_64bit: fix a meml

[Changelog truncated as it exceeds 3000 characters;
the full changelog can be found in an attachment to the AUH email]
---
 ...o-not-obtain-wayland-scanner-path-fr.patch |  4 +--
 ...sts-use-unsigned-int-instead-of-uint.patch | 27 -------------------
 ...ake-egl_ext_surface_compression-cond.patch |  2 +-
 ...r.py-modify-_command-and-not-command.patch |  2 +-
 ...proper-WAYLAND_INCLUDE_DIRS-variable.patch |  2 +-
 ...t-shader.c-do-not-hardcode-build-pat.patch |  2 +-
 meta/recipes-graphics/piglit/piglit_git.bb    |  3 +--
 7 files changed, 7 insertions(+), 35 deletions(-)
 delete mode 100644 meta/recipes-graphics/piglit/piglit/0001-pixel-local-tests-use-unsigned-int-instead-of-uint.patch

diff --git a/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch b/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch
index 46e5a6d83f..96d6139cab 100644
--- a/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch
+++ b/meta/recipes-graphics/piglit/piglit/0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch
@@ -1,4 +1,4 @@
-From abccc17819ad208c0df3edbc8bbcd134e45864f9 Mon Sep 17 00:00:00 2001
+From 8ab86725532705cc78b55744618fd5c9e2564f35 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex@linutronix.de>
 Date: Fri, 23 Aug 2024 15:29:45 +0200
 Subject: [PATCH] CMakeLists.txt: do not obtain wayland-scanner path from
@@ -17,7 +17,7 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de>
  1 file changed, 1 insertion(+), 5 deletions(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 95f40ebfe..4c7da07b4 100644
+index 1a38c21f9..45c181e85 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
 @@ -211,11 +211,7 @@ if(PIGLIT_USE_WAYLAND)
diff --git a/meta/recipes-graphics/piglit/piglit/0001-pixel-local-tests-use-unsigned-int-instead-of-uint.patch b/meta/recipes-graphics/piglit/piglit/0001-pixel-local-tests-use-unsigned-int-instead-of-uint.patch
deleted file mode 100644
index 2c01fe7029..0000000000
--- a/meta/recipes-graphics/piglit/piglit/0001-pixel-local-tests-use-unsigned-int-instead-of-uint.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 8b98674fedc0ac31e768ccd16165bcb585e413e2 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex@linutronix.de>
-Date: Thu, 2 Jul 2026 13:56:17 +0200
-Subject: [PATCH] pixel-local-tests: use unsigned int instead of uint
-
-uint is not a valid integer type in C, and this fails
-to compile under musl libc library.
-
-Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/1170]
-Signed-off-by: Alexander Kanavin <alex@linutronix.de>
----
- tests/spec/ext_shader_pixel_local_storage/pixel-local-tests.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/spec/ext_shader_pixel_local_storage/pixel-local-tests.c b/tests/spec/ext_shader_pixel_local_storage/pixel-local-tests.c
-index 4776193f2..1ac669d11 100644
---- a/tests/spec/ext_shader_pixel_local_storage/pixel-local-tests.c
-+++ b/tests/spec/ext_shader_pixel_local_storage/pixel-local-tests.c
-@@ -851,7 +851,7 @@ make_test_main_str(char *dst, struct pls_format_data *format_data,
- 		case GL_RGBA8UI:
- 		case GL_RG16UI:
- 		case GL_R32UI: {
--			uint expected[4];
-+			unsigned int expected[4];
- 			for (int comp = 0; comp < 4; comp++) {
- 				if (comp < format_data[member].num_components)
- 					expected[comp] = format_data[member].u[comp];
diff --git a/meta/recipes-graphics/piglit/piglit/0001-tests-egl-spec-make-egl_ext_surface_compression-cond.patch b/meta/recipes-graphics/piglit/piglit/0001-tests-egl-spec-make-egl_ext_surface_compression-cond.patch
index c71bf4c8bc..8e923b8352 100644
--- a/meta/recipes-graphics/piglit/piglit/0001-tests-egl-spec-make-egl_ext_surface_compression-cond.patch
+++ b/meta/recipes-graphics/piglit/piglit/0001-tests-egl-spec-make-egl_ext_surface_compression-cond.patch
@@ -1,4 +1,4 @@
-From 3e7ec165c718234e1afcdf730bdf20942976e25c Mon Sep 17 00:00:00 2001
+From 7fe67df8aa752fb3fa97c89de96da754c2399ea1 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex@linutronix.de>
 Date: Fri, 22 Nov 2024 22:52:31 +0100
 Subject: [PATCH] tests/egl/spec: make egl_ext_surface_compression conditional
diff --git a/meta/recipes-graphics/piglit/piglit/0001-tests-no_error.py-modify-_command-and-not-command.patch b/meta/recipes-graphics/piglit/piglit/0001-tests-no_error.py-modify-_command-and-not-command.patch
index 035e7a4d5a..379c07f349 100644
--- a/meta/recipes-graphics/piglit/piglit/0001-tests-no_error.py-modify-_command-and-not-command.patch
+++ b/meta/recipes-graphics/piglit/piglit/0001-tests-no_error.py-modify-_command-and-not-command.patch
@@ -1,4 +1,4 @@
-From 14e56a6336f36d1112964ce1ff0900ea4b37b483 Mon Sep 17 00:00:00 2001
+From 4de8588dd96b498cc01f87e7eaa964aea4e12726 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex@linutronix.de>
 Date: Thu, 22 May 2025 17:34:15 +0200
 Subject: [PATCH] tests/no_error.py: modify _command and not command
diff --git a/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch b/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch
index 329fd75975..3c97353870 100644
--- a/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch
+++ b/meta/recipes-graphics/piglit/piglit/0002-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch
@@ -1,4 +1,4 @@
-From 4444dd748b9324508e3168f64cf0b5adc31b5ebd Mon Sep 17 00:00:00 2001
+From 76b67beb9f00f5ae4cc12995d73f761faccea1aa Mon Sep 17 00:00:00 2001
 From: Pascal Bach <pascal.bach@siemens.com>
 Date: Thu, 4 Oct 2018 14:43:17 +0200
 Subject: [PATCH] cmake: use proper WAYLAND_INCLUDE_DIRS variable
diff --git a/meta/recipes-graphics/piglit/piglit/0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch b/meta/recipes-graphics/piglit/piglit/0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch
index 9c05e639b3..1d67f1533a 100644
--- a/meta/recipes-graphics/piglit/piglit/0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch
+++ b/meta/recipes-graphics/piglit/piglit/0003-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch
@@ -1,4 +1,4 @@
-From f9bfdb8d32c2113c39c3be1bd6fd0934f693ab03 Mon Sep 17 00:00:00 2001
+From e45b3d8d06263900f25b040760d0afd1f480acd3 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <alex.kanavin@gmail.com>
 Date: Tue, 10 Nov 2020 17:13:50 +0000
 Subject: [PATCH] tests/util/piglit-shader.c: do not hardcode build path into
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb
index a3203464d1..6bc959fc8a 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -12,11 +12,10 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma
            file://0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch \
            file://0001-tests-egl-spec-make-egl_ext_surface_compression-cond.patch \
            file://0001-tests-no_error.py-modify-_command-and-not-command.patch \
-           file://0001-pixel-local-tests-use-unsigned-int-instead-of-uint.patch \
            "
 UPSTREAM_CHECK_COMMITS = "1"
 
-SRCREV = "56f237be32ed66820eb05ea3cb04cb8b957ccd8d"
+SRCREV = "107825905508141a0ab8232129abba6489560f02"
 # (when PV goes above 1.0 remove the trailing r)
 PV = "1.0+gitr"
 
-- 
2.47.1

