Repository navigation
Conversation
The fixed slot 57 capture kept the state blocks but not the render-target and depth formats, so a color profile could not be reviewed from it. Publish a `.t57` sidecar immediately before `.s57` when the bound attachments are single-sample: one `targets <N> <fmt...> dsv <fmt> writable <0|1> samples 1 0` line that `mesh57_profile_draft.py` already reads. A bind with no attachments or a non-single-sample bind writes no sidecar, and `.s57` remains the archive. The fixture checks the tuple against the formats it bound and covers the depth-only, empty and multisample controls. Refs R0Y00#3497 Refs R0Y00#3724
|
Reviewed the diff of #3736 against While the
#3761 unstacks #3502 ( |
|
Please add a capture case where the first request for a pipeline/root has no attachments, then the same pipeline/root draws with valid single-sample attachments. The current request cache compares only the pipeline and root, and the sidecar key excludes the attachments. That can keep the later tuple from being published. The case should also show how the reader handles two attachment tuples for the same variant. |
X2W_MESH57_CAPTURE_STATE=1archived the slot 57 state blocks inreq_<variant>.s57, but not the render-target and depth formats bound atthat draw.
tools/startup/mesh57_profile_draft.pyreads those from anadjacent
.t57sidecar, so a color capture could only be reviewed as adepth-only profile and no color profile could be built from the title.
The capture now writes
req_<variant>.t57immediately before.s57, inone
targets <N> <fmt...> dsv <fmt> writable <0|1> samples 1 0line withdecimal DXGI formats. It is written only when the bound attachments are
single-sample and at least one target or the DSV has a known format; an empty
or multisample bind writes no sidecar and keeps
.s57as the archive. Thefixture binds
R8G8B8A8_UNORMandD32_FLOAT_S8X24_UINT, checks the exacttuple against its own formats, and covers the depth-only, empty and
multisample controls.
Validation (Windows, Release):
ctest --preset release --no-tests=error -R '^(native_fixed_mesh57(_mrt)?_(warp|hardware)|startup_indirect_mesh_(warp|hardware))$'— 6/6 pass, including AMD Radeon RX 9060 XT.
python -B tests/mesh57_profile_draft_check.py— pass.python -B tests/docs_links_check.py— pass.Refs #3497
Refs #3724