mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:45:53 +01:00
[PR #2153] test: bind a PSO before direct heap dispatch #2157
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#2157
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/2153
Author: @Joaco9020
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:fix/direct-heap-dispatch-test📝 Commits (1)
13e0d78test: bind a PSO before direct heap dispatch📊 Changes
2 files changed (+48 additions, -2 deletions)
View changed files
📝
runtime/CMakeLists.txt(+5 -0)📝
runtime/test/d3d12_set_descriptor_heaps_test.cpp(+43 -2)📄 Description
Claimed in the coordination issue as
RT-DIRECT-HEAP-DISPATCH-TEST.What and why
The direct heap indexing regression check dispatched without binding a compute PSO. The command list correctly rejected the dispatch, so the test had no recorded command to inspect. This adds the existing synthetic compute shader to the test target, builds a small shader library for it, and binds its PSO before asserting the remapped CBV and sampler heap bases in dispatch user data.
Tested
d3d12_set_descriptor_heaps_testwith MSVC on currentmain(c50ed94).ctest --test-dir runtime/build -C RelWithDebInfo -R '^d3d12_set_descriptor_heaps$' --output-on-failure— passed.record_dispatchrejected the missing PSO.python -I scripts/check_no_game_data.py runtime/CMakeLists.txt runtime/test/d3d12_set_descriptor_heaps_test.cpp— passed.GPUs tested: NVIDIA GeForce RTX 3070, driver 621.01, Windows 11 IoT Enterprise build 22631.
AI-assisted: yes.
Checklist
mainand merges cleanly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.