You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The periodic texture-room meter used a comparison of rounded memory terms to label uploads as waiting. The ordinary admission path can still admit uploads below the automatic texture floor. It can also refuse uploads near the raw DXGI budget when weighted use is below the line.
Use the exact byte counts from one meter sample, share the admission floor and raw-budget predicates, and report the ordinary upload gate with its reason. The first-upload allowance keeps its separate diagnostics. Upload and eviction policy stay the same.
A second test checks the raw DXGI margin just below the boundary, at equality, and with the guard disabled.
Both new locked Windows diagnostics tests and the existing raw-budget test passed. The extracted log fixture reproduced the incorrect refusal on .05. Staged asset policy passed.
I tested a2db88a together with #3848a9980e6, both based on 41adb551. Cherry-picking the two PRs in either order was clean and produced the same Git tree, bd16abc7d61d. The combined Windows diagnostics build ran 78 resource and pool tests successfully, including a generated integration check. Four tests were ignored.
In the #3829 example (1,238 MiB of texture copies, 6,910 MiB budget), the new meter says there is room. At one byte below the automatic floor it still says there is room, and #3848 leaves the reserves out of the eviction calculation. At the floor and one byte above, the same weighted use is over the line, so the meter says no room and #3848 counts the reserves. The separate raw-budget tests also passed.
scripts/summarize-frame-log.py still recognized the revised messages in a three-row generated log. It counted the under-floor row as admitted and both the weighted-limit and raw-budget rows as blocked.
This checks compatibility at the two current heads. The visual trade-off from the exact #3848 hardware pair is still being tracked in that PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pr-diagnosticsPull request: adds logging, counters or tools
2 participants
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.
Related to #3829 and #3848.
What it changes
The periodic texture-room meter used a comparison of rounded memory terms to label uploads as waiting. The ordinary admission path can still admit uploads below the automatic texture floor. It can also refuse uploads near the raw DXGI budget when weighted use is below the line.
Use the exact byte counts from one meter sample, share the admission floor and raw-budget predicates, and report the ordinary upload gate with its reason. The first-upload allowance keeps its separate diagnostics. Upload and eviction policy stay the same.
How it was tested
Checked for overlap