perf(agc): skip the resource-cache key and lookup for address-based draws #2657
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2657"
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?
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-10T10:15:13Z.
What
A draw whose stages bind a BDA table or a fault buffer (
ShaderResources::NeverReusable) no longer builds a resource-cache content key or probes the shared resource cache. It counts as uncacheable.Such a build needs completion work (
NeedsCompletion), sonoteReusablenever keeps it, and the cache never holds an entry the draw could hit. The key and the probe were pure cost.Tested
BUILD_TESTING=ON:ctest -R agcpasses 318/319. The one failure,agc_driver_dcc_keys_first_write, fails the same way on currentmain.agc_driver_graphics_tests(tests/BdaResources.cpp):NeverReusableand notReusable;main-based testing branch, Space Station ran 0.432 / 0.451 fps against 0.455 / 0.448 without it, which is inside run-to-run noise. That branch was GPU-bound.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)