Repository navigation
GPU: cache shader resource metadata with DXIL - #1931
nicolasveilleux wants to merge 3 commits into
Conversation
Return the selected native program resource ranges with its DXIL and read both from the versioned cache entry. Avoid parsing and unpacking the original container again in pipeline creation. Cover round-trips, damaged and old entries, and resource extraction on a synthetic ACCC program.
…/shader-resource-cache
|
Automated triage for the maintainers. Merge candidate. On a cache hit, pipeline creation no longer re-parses the console container for its resource ranges. Generated by Claude Code |
|
Test report: RTX 5060 Ti (Blackwell), Windows 11 Pro 26200, driver 621.24. Branch at |
Offline measurement on a retail dumpResult: no count change against I merged head 3845de8 onto No program changes its failure reason. The count shows that the change rejects nothing on this data. It does not show whether the output is right. No shader names or data are included, per the asset policy. AI-assisted (Claude Code). |
|
Automated triage for the maintainers, second look (a review against current Closing because it buys nothing measurable and has a cost. In a title run the 2,787 shader-cache hits took 0 ms in 2,543 cases and 1 ms in 229, once per shader per process, on the pipeline workers; the PR offers no measurement. Against that it changes the cache format and the shader crate's public API, both of which invalidate every user's shader cache and pre-built pipeline list, and it collides with #2055. If this is mistaken, reply here with what was missed and it will be looked at again. Thank you for the contribution. |
Store the native program’s resource ranges alongside its translated DXIL so pipeline creation no longer parses the original container on cache hits. The tests cover round-trips, invalid entries and resource metadata on a synthetic shader.
Validation: all 3 shader-cache tests passed on Windows 11. The RTX 2070 Super integration branch also passed 478 workspace tests (0 failed, 7 ignored). No game files or gameplay measurements. Claimed in #1633.