startup: print the reason when the logical view draw skips #1563
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1570"
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 R0Y00/Xbox2Windows. Originally posted by RenzoWit35 on 2026-11-24T14:22:18Z.
Change
startup_logical_view_<backend>skips (77) on an adapter that accepts the full 1,245,184-view shader-visible heap, because the capped-heap tables are then not reached. The skip came from a barereturn 77indraw_logical_tables()(tests/startup_stream_draw.cpp), so the CTest log showedSkippedwithout an explanation.startup_view_heap_checkalready prints a reason for the same condition.draw_logical_tables()now prints one line before returning 77:The count is the heap size the adapter accepted in the probe.
tests/startup_logical_view_check.pyalready forwards the consumer's stdout, so no other file changes. The exit code, the CTest registration (SKIP_RETURN_CODE 77) and the non-skip path are unchanged. This is the onlyreturn 77in that file.Verification
Environment: Windows 11 build 26300, MSVC 19.51 (toolset 14.51), Windows SDK 10.0.26100, Python 3.14.5,
devpreset. WARPMicrosoft Basic Render Driver10.0.26100.9818; hardware adapterIntel(R) Graphics, driver 32.0.101.8991. The test does not enable the debug layer.Before (unmodified
mainata3633d4d),startup_logical_view_warp; the last stdout line is the adapter line and no reason follows:After (this branch rebased on
mainat800a4500):startup_logical_view_warpis skipped before and after (not a pass, not a failure). Only the reason line is new.startup_logical_view_hardwarepasses before and after on the Intel adapter, which caps the heap at 1,000,000. This is the path that does not skip; its output is unchanged.startup_stream_draw_warp, which uses the same consumer executable, passes after the change.Not run: the full test suite, the Release configuration, and a hardware adapter that accepts the full heap (the hardware skip path was not observed here; only the WARP one was).
Evidence and follow-up
Refs #874. The missing reason was noted there in an RX 9070 XT report for the logical-view heap path (
startup_logical_viewskip 77 on hardware and WARP without an explanation).I found no open pull request touching
tests/startup_stream_draw.cpportests/startup_logical_view_check.py(open PR list checked before submitting).Not changed here, noticed while reading:
startup_logical_view_hardwarecan also return 77 fromprepare_stream_pipeline()intests/startup_stream_setup.cppwhen no feature-level 12 hardware adapter exists. That path prints nothing either, andstartup_logical_view_check.pydoes not add a line for it the waystartup_stream_draw_check.pydoes. It is a separate file and a different condition, so it is left for a follow-up.AI-assisted.