GPU: unbind vertex buffer slots for null view arrays #681
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!681
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/681/head"
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?
@fuzeofficlal on GitHub · 2026-11-24 06:43 UTC · original
fuzeofficlal:fix/vertex-buffer-null-unbind→main· +11 −1 · 2 files · 1 commits · merged 2026-11-24 08:22 UTCProblem
The vertex-buffer command turns a null view pointer into an empty slice. With a nonzero count this leaves the previous buffers bound in those slots. The D3D12 binding spec defines a null view pointer and a zero-sized buffer view as unbound. D3D12 resource binding specification
Change
Clear the recorded slots covered by the null binding. The ordinary draw path materializes their zero-sized views.
Verification
StartSlot=1, NumViews=1, pViews=null. On RTX 5090 and WARP, the baseline leaves the old green component in all 16 pixels. The patch reads back the expected[0.5, 0, 0.25, 1]in all 16, with slot 0 still contributing red.All input data was synthetic.