mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:10:52 +01:00
[PR #533] [MERGED] Tests: separate pipeline library blob validation from host parity (TEST-PIPELINE-LIBRARY-OWN-FORMAT) #581
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#581
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/533
Author: @sodove
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @aslan2142
Base:
main← Head:test/pipeline-library-own-format📝 Commits (2)
14513aftests: separate pipeline library blob validation from host parity (TEST-PIPELINE-LIBRARY-OWN-FORMAT)0a81e16docs: clarify the pipeline library host comparison📊 Changes
3 files changed (+20 additions, -8 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+6 -3)📝
runtime/test/d3d12_pipeline_library_host_test.cpp(+6 -4)📝
runtime/test/d3d12_pipeline_library_test.cpp(+8 -1)📄 Description
Claimed in the coordination issue as: TEST-PIPELINE-LIBRARY-OWN-FORMAT (#14)
What and why
The trailing-byte mutation touches a reserved byte in the layer's LPL1 header. Native D3D12 serializes a different format, so its response to mutating its own trailing byte varies across the observed hosts. The 26300 host reported S_OK, while the 26100 host here returns E_INVALIDARG. Original finding by fiestorra
Keep both HRESULT and output-pointer results in the own-format part of the host report. The layer test now explicitly requires E_INVALIDARG and no library object for a corrupted LPL1 reserved word.
Tested
Windows 11 26100.7623, D3D12Core 10.0.26100.7309, MSVC 19.44.35220 Release, Vulkan validation layer 1.4.369.
d42773d073. The host and the layer both reject the trailing mutation and leave the output alone. They report independent serialized sizes of 900 and 16 bytes.GPUs tested: NVIDIA GeForce RTX 5070 Ti, driver 610.74, Windows 11.
AI-assisted: yes (OpenAI Codex).
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.