Skip to content

tests: accept the clear censuses in the memory SRV report - #3602

Merged
R0Y00 merged 1 commit into
R0Y00:mainfrom
KelboLive:fix/census-report-shape
Nov 30, 2026
Merged

R0Y00 merged 1 commit into
R0Y00:mainfrom
KelboLive:fix/census-report-shape

Conversation

@KelboLive

Copy link
Copy Markdown
Contributor

Change

startup_memory_srv_diag_check required the census report block to be exactly four lines. #3482
(516a982a9, "census of direct draws not drawn and of clears") added the direct-draw and clear censuses to
the same block, so it is six lines and the check fails on both backends:

AssertionError: census report is not four lines:
x2w-d3d12 memory SRV refusals (slot 70): total 9; ...
x2w-d3d12 memory SRV refused shape 1: ...
x2w-draw token texture nulls: ...
x2w-d3d12 memory SRV writes (slot 70): ...
x2w-render clear census: total 1; shapes 1 (overflow calls 0)
x2w-render clear rtv fmt=28 dim=3 size_log2=3x2x0 ...

The four lines this check is about are unchanged and still in order. The check now validates those four and
then requires every remaining line to be one of the censuses #3482 added, matched by prefix, so the block
is still constrained rather than accepted whole.

Verification

main at 077bff3ac, in-box dev preset, before this change:

startup_memory_srv_diag_warp      ***Failed   1.00 sec
startup_memory_srv_diag_hardware  ***Failed   1.23 sec

After:

1/2 Test #1466: startup_memory_srv_diag_warp .......   Passed    0.94 sec
2/2 Test #1515: startup_memory_srv_diag_hardware ...   Passed    1.20 sec
startup_memory_srv_diag_supported_control_warp         Passed    1.00 sec

The control still passes, and an unexpected line in the block still fails with the new message, so the
relaxation is bounded to the two censuses it names.

Refs #3482.

R0Y00#3482 added the direct-draw and clear censuses to the same report block, so it is six lines
where startup_memory_srv_diag_check expected four. The check failed on both backends and main is
red at 077bff3.

Validate the four lines the check is about, in order, and require any remaining line to be one of
those censuses by prefix, so the block is still constrained rather than accepted whole.

@R0Y00 R0Y00 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent Debug check on 47dbc782: built startup_stream_consumer and d3d12_xs_shim, then ran ctest --preset dev --no-tests=error --output-on-failure -j 1 -R '^startup_memory_srv_diag_'. WARP, RTX hardware and the supported-view WARP control passed 3/3. The four existing assertions still apply in order, and the parser permits only the clear census prefixes after them.

@R0Y00
R0Y00 merged commit 43e0419 into R0Y00:main Nov 30, 2026
5 checks passed
@KelboLive
KelboLive deleted the fix/census-report-shape branch December 1, 2026 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants