@@ -1,4 +1,4 @@
-From 45bd75328057b19286e21066a69a046cccb6af2a Mon Sep 17 00:00:00 2001
+From aec064810e1659ab3d01fe3ff33cea67a108fa8f 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 9115d3c79..93c6fd44c 100644
+index ee5498105..5229e00e1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -211,11 +211,7 @@ if(PIGLIT_USE_WAYLAND)
deleted file mode 100644
@@ -1,31 +0,0 @@
-From: Khem Raj <khem.raj@oss.qualcomm.com>
-Date: Sat, 24 Oct 2026 10:00:00 -0700
-Subject: [PATCH] shader_runner: Keep strchr() result const
-
-The include path parsing walks a const char cursor and stores the
-result of strchr() in a plain char pointer. Since glibc 2.43, strchr()
-preserves the const qualifier of its argument when C23 features are
-enabled, which _GNU_SOURCE does, so clang fails the build:
-
- tests/shaders/shader_runner.c:1665:10: error: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
-
-line_end is only read, so declare it const.
-
-Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/1281]
-Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
----
- tests/shaders/shader_runner.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
---- a/tests/shaders/shader_runner.c
-+++ b/tests/shaders/shader_runner.c
-@@ -1662,7 +1662,7 @@ leave_state(enum states state, const char *line, const char *script_name)
-
- cursor = shader_string;
- for (unsigned i = 0; i < num_shader_include_paths; i++) {
-- char *line_end = strchr(cursor, '\n');
-+ const char *line_end = strchr(cursor, '\n');
- unsigned path_len = line_end - cursor - 1;
- char *path = malloc(path_len + 1);
- path[path_len] = '\0';
@@ -1,4 +1,4 @@
-From d6584a39cf47759007dfd58235bc488871104946 Mon Sep 17 00:00:00 2001
+From 2b2c2064a3a5519df314785926179022b64904be 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
@@ -1,8 +1,7 @@
-From 58a5bea55a5f7972462124e7a8f1b1971ad5483d Mon Sep 17 00:00:00 2001
+From 8794da96acdbc98801cc911541d7b2d42379fe24 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@arm.com>
Date: Thu, 22 Oct 2026 14:09:08 +0100
Subject: [PATCH] tests/serializer: reproducible_mtime should be an int
-X-ARM-No-Footer: NoDisclaimer
The mtime argument is an integer not a string, so parse it with int().
@@ -28,6 +27,3 @@ index 5ee9a1578..f7fdadf43 100644
with gzip.GzipFile(outfile, 'wb', mtime=reproducible_mtime) as f:
tree.write(f, encoding='utf-8', xml_declaration=True)
-2.43.0
-
@@ -1,4 +1,4 @@
-From 1a65f18c336ca13fcbf8e7a179375a9447a95285 Mon Sep 17 00:00:00 2001
+From 6631fcfd11e4a852f46c3d0200d8399550848374 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
@@ -15,7 +15,7 @@ Upstream-Status: Submitted [piglit@lists.freedesktop.org]
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/util/CMakeLists.txt b/tests/util/CMakeLists.txt
-index f9bfec555..07b821375 100644
+index 31b16978c..a5549140b 100644
--- a/tests/util/CMakeLists.txt
+++ b/tests/util/CMakeLists.txt
@@ -97,7 +97,7 @@ if(PIGLIT_USE_WAFFLE)
@@ -1,4 +1,4 @@
-From ebca1b952f830dcd7cb57a3f90a9cb1ccd65a63e Mon Sep 17 00:00:00 2001
+From d49517c9fe7b3ec822e797e54f4cae3f0bdb0a3a 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
@@ -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-no_error.py-modify-_command-and-not-command.patch \
file://0001-tests-serializer-reproducible_mtime-should-be-an-int.patch \
- file://0001-shader_runner-Keep-strchr-result-const.patch \
"
UPSTREAM_CHECK_COMMITS = "1"
-SRCREV = "f73c2b554e565d6ee3fa2a331c60236141a73768"
+SRCREV = "edf773823120c32f84c667e9610d21b1d0aa8d42"
# (when PV goes above 1.0 remove the trailing r)
PV = "1.0+gitr"
Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *piglit* to *edf773823120c32f84c667e9610d21b1d0aa8d42* has Succeeded. Next steps: - apply the patch: git am 0001-piglit-upgrade-to-latest-revision.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From cc505b1c8f0cffeed2c08fb5cc7b279b3e89df50 Mon Sep 17 00:00:00 2001 From: Upgrade Helper <auh@yoctoproject.org> Date: Fri, 13 Nov 2026 06:19:31 +0000 Subject: [PATCH] piglit: upgrade to latest revision Convert other arb_shader_image_load_store tests to support GL3.1. arb_shader_image_load_store/semantics.c: Drop hard req on cube_map_array. arb_shader_image_size: Add support for desktop GL3.1. arb_texture_buffer_object: skip image subtests without compute program rasterpos: test a vertex shader linked with a fragment shader Add an AGENTS.md file of piglit norms for agents writing tests. ci: add macOS build job pixel-local-storage: modify blend_or_dither to not write first PLS variable pixel-local-tests: add a sanity check to verify color with blend/dither pixel-local-tests: fix return from blend_or_dither tests arb_framebuffer_object: accept GL 3.0 in negative-readpixels-no-rb arb_copy_buffer: accept GL 3.1 without the extension arb_texture_buffer_object: accept GL 3.1 in more tests texelFetch/textureSize: don't require extensions promoted to core shader_runner: Keep strchr() result const ext_mesh_shader: add continue-after-resolve general: add tc-renderpass-info blit-scaled-linear: increase tolerance error texturing: fix unused shader sources in texsubimage-row-length-bounds arb_texture_multisample: accept GL 3.2 in minmax arb_vertex_program: test an arl-indexed constant between state vars gl-3.0: test that built-in uniforms follow state changes gl-1.0: test that lighting follows state changes between draws egl: add egl-shared-genbuffers-churn gl-1.5: add gen-buffers-unique arb_vertex_attrib_64bit: use GLSL 1.40 in overlapping-locations depth-clear-precision-check: don't shift a 32-bit long by 32 fbo-geneatemipmap-formats: return warn if results don't match wgl: test that work in a shared context is visible after wglMakeCurrent ext_transform_feedback: Add primgen clear query test ext_msrtt2: test drawing after a scissored depth clear gl-1.0: test line loops that span an immediate mode buffer flush arb_gpu_shader_fp64: use GLSL 1.40 in non-uniform-control-flow tests textureGather: accept GL_ARB_texture_swizzle and GL 3.3 textureGather: use GLSL 1.40 in core profile contexts shader_runner: skip deprecated varying limit query in FC contexts texturing: test a 3d texture over 1 gb on a gpu with plenty of memory wgl: test that ChoosePixelFormat for a window picks a window format glx: test that reading the back buffer after a swap keeps the window ovr_multiview_multisampled_render_to_texture: add tests ovr_multiview2: add render and gles compiler tests ovr_multiview: add api, render, and draw error tests for gl and gles ext_msrtt2: add conformance tests ext_msrtt: check clear_color_and_depth's depth by drawing ext_msrtt: call RenderbufferStorageMultisampleEXT in clear_color_and_depth ext_msrtt: add conformance tests ext_msrtt: run clear_color_and_depth util: add piglit_dispatch_resolve_extension_function util: look up gles functions in opengl32 on windows cmake: allow gles tests on windows glx: test that the main fbconfig types exist cl: add a test that reads a kernel result back through a map glx: test flushing the front buffer again after a swap gl-1.0: test reading the front buffer while drawing the next frame gl-1.0: test drawing to the front, the back, and both without swapping arb_framebuffer_object: test reads after a sampled texture is redrawn ext_msrtt: add a reproducer for mesa#16550 arb_vertex_buffer_object: add a reproducer for mesa#16547 drawoverhead: Add unaligned VBO offset and stride subtests egl-arb-sync-shared-context: add a write-unflushed mode arb_sync: add a flush-readback stress test arb_sync: add a pending-sync mode to old-sync and a sync churn test arb_sync: add tests that waits do not return before the GPU is done texturing: add texsubimage-row-length-bounds test --- ...o-not-obtain-wayland-scanner-path-fr.patch | 4 +-- ...ader_runner-Keep-strchr-result-const.patch | 31 ------------------- ...r.py-modify-_command-and-not-command.patch | 2 +- ...-reproducible_mtime-should-be-an-int.patch | 6 +--- ...proper-WAYLAND_INCLUDE_DIRS-variable.patch | 4 +-- ...t-shader.c-do-not-hardcode-build-pat.patch | 2 +- meta/recipes-graphics/piglit/piglit_git.bb | 3 +- 7 files changed, 8 insertions(+), 44 deletions(-) delete mode 100644 meta/recipes-graphics/piglit/piglit/0001-shader_runner-Keep-strchr-result-const.patch