mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #1443] d3d12: honor predication for buffer CopyResource (D3D-PREDICATED-COPY-RESOURCE) #1473
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#1473
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/1443
Author: @PyZikYG
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:d3d12-predicated-copy-resource📝 Commits (1)
b21bfffd3d12: honor predication for buffer CopyResource📊 Changes
4 files changed (+52 additions, -24 deletions)
View changed files
📝
docs/d3d12_vulkan.md(+4 -3)📝
runtime/src/vulkan_replay.h(+17 -9)📝
runtime/test/d3d12_predicated_copy_test.cpp(+16 -10)📝
runtime/test/predicated_copy_test.cpp(+15 -2)📄 Description
Claimed as D3D-PREDICATED-COPY-RESOURCE.
Summary
Buffer-to-buffer
CopyResourcenow honorsSetPredication. Replay uses the byte-copy path shared withCopyBufferRegionand tracks its compute writes for readback visibility. The helper dispatch is left out of application pipeline statistics. This change covers buffer resources.Verification
Checked the copy and skip paths against native D3D12/WARP, including a predicate with only its high word set. Checked readback staging, large offsets and pipeline-statistics accounting.
AI-assisted: yes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.