Repository navigation
GPU: allow first-use pipeline scheduling with a warm cache - #845
Lilith133T wants to merge 1 commit into
Conversation
|
Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present. I merged this PR's head AI-assisted (Claude Code); no game data. |
|
A data point from the run that first had a saved library — for making this the default under Wine. With The same binary, same prefix, with the library's folder moved away ( With Wine 11.0 (Proton Experimental), vkd3d-proton |
…first-use scheduling, preserving fxceless#777 commit check)
A wireless receiver with its controller switched off still answers XInputGetState with an all-zero state, which connected the empty slot and disconnected the keyboard stand-in pad. Keep each host slot disconnected until its current connection reports non-rest input, reset that flag on disconnect, and keep scripted diagnostic keys on the stand-in while no host pad has reported input. Fixes fxceless#845. Co-authored-by: andrewpozdnakov7-jpg <andrewpozdnakov7-jpg@users.noreply.github.com>
…celess#24/fxceless#104), null CBVs (fxceless#304), tables at list cuts (fxceless#742), heap entries (fxceless#589), barriers (fxceless#787), depth-stencil UAV barriers (fxceless#214), windows ending at recorded writes (fxceless#663), sRGB views (fxceless#644), wide accesses across pages (fxceless#846), view-guard costs (fxceless#812/fxceless#853), the fill latch (fxceless#860), pipeline waits (fxceless#709), robustness; opt-in fxceless#868/fxceless#845
This adds
VICTORY_EARLY_PIPELINES=0to isolate eager pipeline creation when diagnosing rendering differences between a first launch and a warm launch. With the default setting, workers start previously used pipelines during loading. With the switch set, draws and dispatches request their pipelines on first use. Both paths continue recording the set for subsequent launches.On Windows with an RTX 5070 Ti (driver 610.88), a local integration build showed visible banding in the sky and flat shading on characters at a repeatable checkpoint. With the shader cache and driver library retained, I compared three runs:
The underlying rendering defect is still under investigation. The switch makes the comparison reproducible while preserving the learned list between runs.
I tested the standalone patch against
9376fd6withcargo test --locked --profile diag -p victory-gpu --features diagnostics --lib pipeline:: -- --test-threads=1(12 passed) andcargo xtask policy(171 files passed).