@@ -1,4 +1,4 @@
-From 45bd75328057b19286e21066a69a046cccb6af2a Mon Sep 17 00:00:00 2001
+From 85ff4fef07a2012fff866b98af96ed156ab10157 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 60074e6dd4a17d6de29253160b158268923589aa 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 632210d1ee9bfe6fb784cbf449015361e94f1e63 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 16ea9a0f640cb948de5e402720dda6b3f901f5c2 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 63394f2832e57c6d2edadf64ada8275823376c79 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 = "21277332cb4f49e21764e3ca661377b16a49bbd5"
# (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 *21277332cb4f49e21764e3ca661377b16a49bbd5* 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 8d670156ebf567dbf350decabc8b24633ca2b396 Mon Sep 17 00:00:00 2001 From: Upgrade Helper <auh@yoctoproject.org> Date: Fri, 4 Dec 2026 16:13:13 +0000 Subject: [PATCH] piglit: upgrade to latest revision rasterpos: test more vertex shaders linked with a fragment shader large-tex: fix mismatched formats between the texture and the shader image. large-tex: Fix incorrect use of GLSL 4.20 on older contexts. glsl-es-3.10: add cs-ubo-offset-shared-subexpressions glsl-es-3.10: add cs-ubo-offset-loaded-in-nonuniform-control-flow glsl-es-3.10: add cs-if-loop-value-after-divergent-exit util: fix fallback htobe32() byte-swap shifts ext_image_dma_buf_import/sample_rgb: check for format support gl-1.0: test edge flags in feedback mode glsl-es-1.00: add fs-texture-phi-live-source glsl-es-3.00: add fs-texture-phi-live-source glsl-es-3.00: add fs-texture-phi-divergent-if general: add array-element-after-draw ext_image_dma_buf_import: add a P012 YUV->RGB precision test ext_image_dma_buf_import: add a P010 YUV->RGB precision test arb_shader_packing: do not test unorm16 packing with a value right on the border piglit: fix crash in ext_external_objects when no Vulkan device is found ext_transform_feedback: add render-to-texture-with-xfb-varyings ext_framebuffer_multisample: add depth-blit-after-fast-clear arb_copy_image: test blending on top of a partial copy arb_clear_texture: test image stores after clearing the texture 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