Repository navigation
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Draft: matched-title performance benefit remains unproven.
With
APS5_LAZY_SHADER_PREPARE=1, defer artifact preparation in the graphics-stage and rectangle pipeline ABI resolvers until first use, after registered-header and device validation. Default eager behavior is unchanged. Main's existing single-stage ABI planning, saved deferred ABI state and synchronization are preserved; the production change is two early-return guards.Head
dcabd0b452c7ab87c93e1207b434cc81407fb5a9refreshes onto pinned mainaf81394087c4c634b1f2cfb5cbf909bc548c46b8and corrects the standalone lazy rectangle fixture: valid corners, explicit pixel-stage execution, and a CTest guard against deferred GPU write-back failures. All original preparation assertions remain. The runtime topic is still the same two early-return guards; no private timing probe or title integration is part of this branch.Tested
Latest Linux fixture qualification (2026-11-23): main
af81394087c4passes 9/9 shared checks. This headdcabd0b452c7passes those 9 plus three repeated standalone rectangle runs. Restoring degenerate positions (42eecc31dd97) preserves 9 shared passes and fails all three rectangle runs with the intended GPU error. Valid corners andDB_SHADER_CONTROL.EXEC_ON_NOOPmake the draw exercise its registered pixel shader; all original assertions remain. Physical RX 6650 XT, RADV Mesa 26.3.1-arch1.2, Linux 7.3.5-arch1-1, actual validation 1.4.363 insertion per case; zero skips/VUIDs/actual sync-hazard identifiers. Final builds cover focused fixtures and transitive runtime providers; the exact pinned main bank is reused. Frozen hashes and source/configuration restoration verified. Source and verified evidence, SHA-2560450afbef34a9052455ea59542ad13317bd2b6b969eeb8c00b9bbe01a890ff30. The subsequent exact-head Windows report records all 27 prepared-shader checks passing in each of three runs (81/81, no skips) on RX 6700 XT / AMD driver 26.11.2, Windows 11 Enterprise 22621, WinLibs GCC 15.2, with actual Khronos 1.4.363 loading and zeroVUID-/SYNC-HAZARDlines. It reports oneUndefined-Value-ShaderOutputNotConsumed-DynamicRenderingwarning per lazy test, consistent with the targetlessEXEC_ON_NOOPdraw; the existing shared deferred-rectangle-pair diagnostic remains separate and unchanged. These are reported head-only Windows results, not a new paired-main Windows run or a performance measurement. No title/FPS benefit is established.Earlier independent NVIDIA validation (before this fixture correction): domx4q's Linux RTX4090 run reports main
e4caa07950versus head615095c51bmerged on that same main (76daed9cf1):34/34 baseline and35/35 change tests pass forprepared|lazy_pipeline, with64/66 validation-layer insertions,0VUID/missing-layer reports and0skips. Arch Linux7.3.4, GCC16.2.1, NVIDIA620.70.06, layer1.4.363.1. This is independently reported correctness evidence; it supplies no title performance comparison. The draft remains because matched-title performance benefit is unproven.Historical local qualification (pins below):
Linux Release/GCC 16.2.1, AMD RX 6650 XT/RADV Mesa 26.2.6, Linux 7.2.11. Both full SDKs/relinkers and focused executables built, with matching dependency gitlinks and patched/unpatched ELF build IDs. Matched focused checks ran through the shared FIFO with
ANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1and actual Khronos validation loading verified:Exact source patch, dependency pins, builds, verbose logs, JUnit and terminal receipts, SHA-256
7748e20d19a542d2b31fb8e4fb097a95118807d8a1389e30faf4cc1f2e1f5d3f(uploaded/downloaded and internal hashes verified).Those local checks did not include Windows or NVIDIA; the earlier independent NVIDIA correctness result is above. No title speedup is claimed. The Smurfs – Dreams PPSA21607 01.002.000 cold-start pair is complete. Control
62bbc741fb2fis maincf79276fee2fplus the same #6959/#13934/#6782/#6913 prerequisites and a private common timing probe; changea7cae4a3bed6adds this PR. Normal flip scheduling, lazy flag enabled in both arms, fresh private AnyPS5/Mesa shader caches disabled, identical initial writable hashes, same scheduled input, 3840×2160. Both exit0 in about98s, restore kernel settings and leave original inputs/SDK hashes intact.No reliable title loading or gameplay FPS benefit is established by this single pair. Inclusive phase sums overlap and include concurrent work; deferred ABI time is not all removed. Only1.29ms of the control's graphics-stage ABI work precedes its first Present, so the136.58ms process-start difference cannot be attributed to that work. Both reviewed90s captures show save selection; the80s captures differ, and inactive-window capture freshness could not be verified. Mixed startup scene histories make the0:60 trace frame distributions unsuitable for a steady-scene FPS claim. The private measurement source is identical between arms and is not in this PR.
Both official traces/summaries, reviewed captures, source-isolation proof, exact private probe patch, reports and timing counters, SHA-256
35a5f2e433624fd81f590e882ac9743fb55745fd161252bae302d881489f2fac(download/internal hashes verified).The historical Resident Evil Village cold-start pair, main
a6dcea9279b5versus22cee06b0105, did not establish a loading gain. Its startup scene histories differ, so its frame distributions do not support a gameplay speed comparison.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)