diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-22 05:48:10 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-22 05:48:10 -0500 |
| commit | be5ea1c4045c1db50cf4b1472974697e2bd276f8 (patch) | |
| tree | 445af846b252a020729700c12edf3b049ada4951 /runtime/src/thread_stacks.cpp | |
| parent | 4a4acf3e63cb4cae14dfb4930751e065480ac700 (diff) | |
OMSetStencilRef in a bundle reaches the list that executes it
ExecuteBundle copies the two stencil references back to the calling list
only when the bundle set them (stencil_ref_set_). OMSetFrontAndBackStencilRef
marks that; the older OMSetStencilRef assigned both faces without it, so a
bundle that only calls OMSetStencilRef lost its reference and the next draw
tested against the caller's old value.
Reported by Vonsek on #291 with a fixture compared against native D3D12:
1,050 red pixels expected after the bundle, 0 before this change.
d3d12_com_test gets the case next to its other bundle checks; it fails
without the change.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions