Jordan Justen pushed to branch debian-unstable at X Strike Force / app / piglit
Commits: 56a64f46 by Jordan Justen at 2025-04-14T15:03:05-07:00 d/changelog: Start 0.0~git20250409.af62c0dea-2 changelog Signed-off-by: Jordan Justen <[email protected]> - - - - - 26a5ad13 by Jordan Justen at 2025-04-14T15:34:42-07:00 d/patches: Add patch to fix upstream FTBFS 32-bit issue Signed-off-by: Jordan Justen <[email protected]> - - - - - 4842e5b1 by Jordan Justen at 2025-04-14T15:37:04-07:00 d/changelog: Release 0.0~git20250409.af62c0dea-2 to unstable Signed-off-by: Jordan Justen <[email protected]> - - - - - 3 changed files: - debian/changelog - + debian/patches/0001-ext_external_objects-Fix-two-null-handle-misassignme.patch - + debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +piglit (0.0~git20250409.af62c0dea-2) unstable; urgency=medium + + * d/patches: Add patch to fix upstream FTBFS 32-bit issue + + -- Jordan Justen <[email protected]> Mon, 14 Apr 2025 15:36:14 -0700 + piglit (0.0~git20250409.af62c0dea-1) unstable; urgency=medium * Update piglit upstream version to af62c0dea ===================================== debian/patches/0001-ext_external_objects-Fix-two-null-handle-misassignme.patch ===================================== @@ -0,0 +1,35 @@ +From: Jordan Justen <[email protected]> +Date: Mon, 14 Apr 2025 14:56:22 -0700 +Subject: ext_external_objects: Fix two null-handle misassignments + +Setting to NULL (a pointer, rather than handle), causes build issues +on 32-bit architectures. + +Fixes: 18c82454d ("ext_external_objects: Add compute shader infrastructure") +Signed-off-by: Jordan Justen <[email protected]> +--- + tests/spec/ext_external_objects/vk.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/spec/ext_external_objects/vk.c b/tests/spec/ext_external_objects/vk.c +index b5f3de7..5518629 100644 +--- a/tests/spec/ext_external_objects/vk.c ++++ b/tests/spec/ext_external_objects/vk.c +@@ -1380,7 +1380,7 @@ vk_create_compute_pipeline(struct vk_ctx *ctx, + s_layout_info.pBindings = bindings; + if (vkCreateDescriptorSetLayout(ctx->dev, &s_layout_info, NULL, &cp->set_layout) != VK_SUCCESS) { + fprintf(stderr, "Failed to create descriptor set layout\n"); +- cp->set_layout = NULL; ++ cp->set_layout = VK_NULL_HANDLE; + free(bindings); + goto fail; + } +@@ -1395,7 +1395,7 @@ vk_create_compute_pipeline(struct vk_ctx *ctx, + p_layout_info.pSetLayouts = &cp->set_layout; + if (vkCreatePipelineLayout(ctx->dev, &p_layout_info, NULL, &cp->pipeline_layout) != VK_SUCCESS) { + fprintf(stderr, "Failed to create pipeline layout\n"); +- cp->pipeline_layout = NULL; ++ cp->pipeline_layout = VK_NULL_HANDLE; + goto fail; + } + ===================================== debian/patches/series ===================================== @@ -0,0 +1 @@ +0001-ext_external_objects-Fix-two-null-handle-misassignme.patch View it on GitLab: https://salsa.debian.org/xorg-team/app/piglit/-/compare/396a324e878f99b31f544946ad888f48b9c056c5...4842e5b1ec64485b9ec8017c098c19b47309a2a1 -- View it on GitLab: https://salsa.debian.org/xorg-team/app/piglit/-/compare/396a324e878f99b31f544946ad888f48b9c056c5...4842e5b1ec64485b9ec8017c098c19b47309a2a1 You're receiving this email because of your account on salsa.debian.org.

