diff options
| author | Mike7581 <168859477+Mike7581@users.noreply.github.com> | 2026-11-25 15:36:18 -0300 |
|---|---|---|
| committer | Mike7581 <168859477+Mike7581@users.noreply.github.com> | 2026-11-25 21:35:42 -0300 |
| commit | bbc750655935a4b36a8f23bab7761ca6cbe29bc6 (patch) | |
| tree | 2ba93c4e4f78a746c7360efb89eb318c1660422c /runtime/src/xma2_decoder.cpp | |
| parent | 78159b88658f5a923a67b1b5c5380258a669ca39 (diff) | |
d3d12: stub draws only for this device's mesh stubs; =color stubs override the state that hides them
Review follow-up for #1549:
- record_draw no longer skips a draw with an unregistered PSO: graphics stubs are registered now, so a draw with a PSO from another implementation fails the list again (Close: E_INVALIDARG), as on main. A stub records its kind (none, compute, mesh) when stub_or creates it; stub_pipeline_kind(pso, device) gives it only for the list's own device, and DispatchMesh skips only that mesh stub's draws. A mesh draw with another device's stub fails the list. record_dispatch keeps main's bypass.
- LEONIDA_STUB_PIPELINES=color turns off the title's culling, wireframe fill, sample mask, alpha to coverage, depth and stencil tests, blending and logic op for the stub, keeping the write mask. The B4G4R4A4 fallback's refusal of blending and logic ops now waits until it is known whether the pipeline is such a stub.
- docs/boot.md: the cover needs a triangle topology and stays inside the scissor; what is turned off; which draws stay recording errors.
d3d12_stub_draw_test: =color with CULL_MODE_BACK, FILL_MODE_WIREFRAME, SampleMask 0 and a reverse-Z GREATER test against a depth target cleared to 0; a draw with another implementation's PSO (switch off); DispatchMesh with a mesh stub on its own device's list (closes) and on another device's (fails). Each fails on fa223d8 or on the first version of this fix; every case is reported. The B4G4R4A4 path has no test (the GPUs here render A4R4G4B4).
Diffstat (limited to 'runtime/src/xma2_decoder.cpp')
0 files changed, 0 insertions, 0 deletions