Skip to content

startup: stand in for shared-exponent render and UAV textures - #1963

Merged
tedin7 merged 4 commits into
R0Y00:mainfrom
Jess-Doit:startup/sharedexp-target-stand-in
Nov 25, 2026
Merged

tedin7 merged 4 commits into
R0Y00:mainfrom
Jess-Doit:startup/sharedexp-target-stand-in

Conversation

@Jess-Doit

@Jess-Doit Jess-Doit commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Change

Add R9G9B9E5_SHAREDEXP (67) to the packed-target mapping. When format 67
lacks a requested RT or UAV use and format 26 supports every requested use,
single-sample 2D textures and arrays use R11G11B10_FLOAT (26). The stand-in
carries a format-67 tag. Explicit RTV, UAV and SRV descriptions naming 67
use format 26 on that resource, including SRVs reconstructed for translated
draws. Optimized clear values follow the allocated format.

Limits

Both formats use 32 bits per texel and clamp negative values to zero. Format
26 uses 6/6/5 mantissa bits with separate exponents. Format 67 uses three
9-bit mantissas with one shared exponent. Sampled-only resources and supported
native format-67 uses keep their format. Uploads and copies in the original
shared-exponent bit layout are not converted.
Microsoft's format specification

Verification

Tested 194fb8fc6f2520f8ca8db7f29dcc12b27b9eb42d (Codex's commit; rerun at c2bce63d, below) from
18fe83d5b2ce544c20520aed49438c0618532752 on Windows 10 22H2 build
19045.6456 with MSVC 19.44.35230.

Adapter Driver New fixture D3D12 debug layer
GTX 1060 6GB 32.0.15.6094 24/24 raw words per preset Enabled, zero warnings and errors
In-box WARP 10.0.19041.5794 24/24 raw words per preset Enabled, zero warnings and errors

The fixture creates one 2D target and one two-slice array through the startup
device. Both expose format 26 with tag 67 and accept RTV, UAV and SRV
descriptions naming 67. The independent CPU references are 801e0380 for
the RTV clear and c79c0000 for the partial UAV clear. The UAV input's blue
channel of 996.0 encodes as 992.0 in format 26 and is exactly
representable in format 67. The negative red channel reads zero.

Preset Passed Failed Skipped
dev 14 0 0
release 14 0 0

The selection includes the packed-target unit rows, the seven registered --mutate controls (two new: sharedexp leaves format 67 alone, sharedexp-uav leaves a UAV-only format-67 target alone; each must fail), the existing packed
controls and draws, both new readbacks, startup_stubs and the docs link check.

Debug mutation First diagnostic on both adapters
Disable format-67 substitution CreateCommittedResource returned E_INVALIDARG (0x80070057), D3D12 599
Pass 67 through on RTV creation CreateRenderTargetView rejected the incompatible format, D3D12 38
Pass 67 through on UAV creation CreateUnorderedAccessView rejected the incompatible format, D3D12 342
Pass 67 through on SRV creation CreateShaderResourceView rejected the incompatible format, D3D12 28

Each mutation failed CTest as expected. Restoring the source and rebuilding
passed both GPU tests again.

Set VULKAN_SDK to the Vulkan SDK 1.4.363.0 installation and use the repository's
Python environment with requirements-dev.txt installed.

. .\tools\dev.ps1
$env:XBOX2WINDOWS_ADAPTER = '1060'
$env:X2W_D3D12_DEBUG = '1'
$intake = (Resolve-Path 'out/pe-env/Scripts/python.exe').Path
$targets = @(
    'offscreen_check', 'startup_stream_consumer', 'startup_packed_target_check',
    'startup_stub_consumer', 'startup_stub_acphal', 'startup_stub_xapu',
    'startup_stub_xcrdapi', 'startup_stub_gameinput'
)
$filter = '^(startup_(packed_target.*|sharedexp_target.*|stubs)|docs_links)$'
foreach ($preset in 'dev', 'release') {
    cmake --preset $preset "-DINTAKE_PYTHON=$intake"
    cmake --build --preset $preset --target @targets -j 2
    ctest --preset $preset --no-tests=error -j 1 -R $filter -V
}

For the mutation controls, return the original format early from
packed_target_stand_in for format 67, or leave mapped unchanged in
view_slot for format 67 at one slot at a time (RTV 20, UAV 19, SRV 18).
Rebuild and run after each change, then restore the source and repeat.

cmake --build --preset dev --target offscreen_check -j 2
ctest --preset dev --no-tests=error -j 1 -R '^startup_sharedexp_target_' -V

Which branch each adapter takes. startup_sharedexp_target_* tests the substitution only on an adapter that lacks format-67 RT/UAV support, and returns 77 otherwise; it prints support1_67, support1_26 and the reason. On Windows 10 (WARP 10.0.19041.5794, support1_67=0x8013f0) and on the GTX 1060, both adapters take the substitution path. A newer WARP that supports format 67 natively (reported in review on Windows 11 build 26300) skips, so the substitution is not covered on such a runner. That skip is a branch split, not missing coverage.

Clear-value control (measured after review). With packed_clear_value disabled, both adapters fail at creation with E_INVALIDARG and debug-layer message 817 (D3D12_CLEAR_VALUE::Format must be equal to D3D12_RESOURCE_DESC::Format). So the draw fixture, which creates the texture with a format-67 optimized clear value, covers that mapping. Restored, both pass again.

The head adds the two registered controls to Codex's commit. I reran the selection above at c2bce63d on the same machine: 14/14 in dev and in release, GTX 1060 and WARP, debug layer on, no skips.

AI-assisted (Codex, driven with Claude Code; Claude Code reviewed the change, added the registered controls and reran the checks).

@ChazY11

ChazY11 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Built and ran it on this machine; the WARP skip is real and the hardware run covers the other half

Windows 11 build 26300.9974, MSVC 19.44, dev preset. The CTest target is offscreen_check (not startup_sharedexp_target —
that is the test name; --target startup_sharedexp_target fails with unknown target):

cmake --build --preset dev --target offscreen_check startup_packed_target_check
build exit 0

ctest --preset dev -R 'sharedexp|packed_target'
 1/12 startup_packed_target ................... Passed 0.13
 2/12 startup_packed_target_stand-in_control .. Passed 0.02
 3/12 startup_packed_target_array_control ..... Passed 0.02
 4/12 startup_packed_target_b565_control ...... Passed 0.02
 5/12 startup_packed_target_sharedexp_control . Passed 0.02
 6/12 startup_packed_target_sharedexp-uav_control Passed 0.02
 7/12 startup_packed_target_view_control ...... Passed 0.02
 8/12 startup_packed_target_tag_control ....... Passed 0.02
 9/12 startup_sharedexp_target_warp ........... ***Skipped 0.25
10/12 startup_sharedexp_target_hardware ....... Passed 3.21
11/12 startup_packed_target_draw_warp ......... Passed 1.45
12/12 startup_packed_target_draw_hardware ..... Passed 5.94

Skip, reported separately as AGENTS requires: startup_sharedexp_target_warp returns 77 with

backend=warp debug_layer=enabled
adapter=Microsoft Basic Render Driver vendor=1414 device=008c  driver=10.0.26100.9818
support1_67=0x2ecd3f1 support1_26=0x2e4d3f3 support2_26=0x2c0
adapter supports native format-67 RT and UAV views

That is the right skip and it says why: on this WARP build format 67 is natively usable for RT and UAV, so the substitution path it
would test does not exist there. The physical GPU takes the other branch:

support1_67=0x8013f0 support1_26=0x2e4d3f3 support2_26=0x2c0
x2w-d3d12 texture format 67 with flags 0x5: shortcut - not supported for that use here, created as format 26
slices=1 format=26 tag=67 rtv=801e0380 uav=c79c0000 words=8
slices=2 format=26 tag=67 rtv=801e0380 uav=c79c0000 words=16

tag=67 with format=26 is exactly the property the description claims — the stand-in is allocated as 26 and remembers it was 67 —
and both a single slice and an array are exercised.

Mutation

mutation in packed_target_format.h result
the 67 entry mapped to R9G9B9E5_SHAREDEXP instead of R11G11B10_FLOAT (no substitution) caught (10/10 → red)

So the mapping is not just documentation; changing it fails the packed-target suite.

One thing worth stating in the description

Because WARP supports 67 natively, the _warp test cannot cover the substitution on any runner where that holds, and the _hardware
test only covers it where the GPU does not. The two together cover both branches here, but a reviewer reading "warp skipped" should
know it is a branch split, not missing coverage. Naming which branch each backend took, as the output above does, would make that
visible without running anything.

What remains unverified

Nothing device-side beyond these two adapters: whether a title's own clear values, SRV reconstruction in translated draws, and the
format-67 tag survive a full frame is not measured here, and the clear-value statement in the description rests on the controls
(startup_packed_target_*_control), not on a draw.

Notes

  • AI-assisted review, run on a physical GPU for the _hardware cases.

@Jess-Doit

Copy link
Copy Markdown
Contributor Author

Thanks @ChazY11, and for running the hardware half.

  • WARP skip: agreed, that's a branch split. On my Windows 10 machine (WARP 10.0.19041.5794, support1_67=0x8013f0), WARP lacks format-67 RT/UAV support and takes the substitution path, like the GTX 1060. Your Windows 11 WARP supports format 67 natively and skips. The description now names which branch each adapter takes and why the skip happens.
  • Clear value: I measured it instead of leaving it to the unit controls. With packed_clear_value disabled, startup_sharedexp_target_hardware and _warp both fail at creation with E_INVALIDARG and debug-layer message 817 (D3D12_CLEAR_VALUE::Format must be equal to D3D12_RESOURCE_DESC::Format ... R9G9B9E5_SHAREDEXP). The fixture creates the texture with a format-67 optimized clear value, so the draw covers that mapping. Restored, both pass again. This is recorded in the description; the code is unchanged.
  • SRV reconstruction in translated draws: agreed, that part rests on the shared packed_view rows, not on a draw of its own.

Status: ready for another review. CI is green at c2bce63d, and nothing else is open on our side.

@tedin7 tedin7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Review of head c2bce63d9e850d9543232227cf748b2807c73463 (comment only, not an approval).

Scope read: packed_target_format.h, the sanitized / packed_clear_value / view_slot changes in d3d12_xs_device.cpp, the SRV path in d3d12_draw.inl, CMakeLists.txt, docs and the two test files.

What I checked

  • The table-driven packed_target_mapping keeps the 16-bit rows unchanged. Format 67 triggers on RT or UAV. The stand-in is chosen only when 67 lacks a requested use and 26 has all of them. That matches the Limits text.
  • packed_view, mark_packed_stand_in and both view sites (view_slot, draw_translated) now use the stand-in's real format. This is consistent for RTV, UAV and the reconstructed SRV.
  • packed_clear_value is applied only to the committed and placed resource slots. It rewrites the clear format only when it equals the requested format and the stand-in was used. The PR's own control shows debug-layer message 817 without it.
  • view_bytes is now the exact struct size per slot. I found no read past the descriptor. The buffer is aligned.

Commands run locally

  • python3 tests/docs_links_check.py: self-test passed, 18 Markdown files and 386 links checked.
  • python3 tests/bidi_controls_check.py: self-test passed, 1367 files, no bidirectional controls.
  • git diff --check origin/main...HEAD: clean.
  • gh pr checks 1963: Windows build and test pass, Linux Python checks pass, gfx1013 fixtures pass. /O2 and coverage publish were skipped.
  • The C++ tests are MSVC and Windows only. x86_64-w64-mingw32-g++ fails on tests/startup_packed_target_check.cpp:95 because the mingw ID3D12Resource::GetDesc signature differs. I could not run them on Linux. I did not repeat the Windows run: the PR documents 14/14 on GTX 1060 and WARP at this head, and the Windows CI job passed.
  • Mutation: I did not run my own mutation. The PR registers sharedexp, sharedexp-uav and the existing view/tag controls as WILL_FAIL ctest entries, and the body records the manual RTV, UAV and SRV slot mutations and the clear-value mutation. Those mutations are not part of the CI job.

Findings

  • P1: none.
  • P2: none.
  • Nit 1 (startup_sharedexp_target.cpp): on an adapter that supports 67 natively, such as newer WARP on Windows 11, the draw fixture returns 77 (skip). CI would then pass without covering the substitution. The body says so. Consider making the skip visible in the CI summary.
  • Nit 2 (packed_target_format.h header comment): it says "R11G11B10_FLOAT has 6/6/5 mantissa bits". Say "6/6/5 mantissa bits plus per-channel 5-bit exponents" so the exponent difference is clear in one place.
  • Nit 3 (PR body): the Verification text and the last line name AI tools. Please replace them with a neutral line, for example AI-assisted; commands listed were executed locally., to follow the repo rule on titles and bodies.

Clean-room / title: the title is neutral. The only reference is the public Microsoft format spec. mergeable was UNKNOWN when I checked, so please rebase or re-check before Ready.

AI-assisted; commands listed were executed locally.

@Jess-Doit

Jess-Doit commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor Author

Merged current main (ab9a020c) at f8543dee. The only conflict was tests/offscreen_check.cpp, where main added run_startup_image_load_d16 at the same spot as run_startup_sharedexp_target. Both are kept, and both dispatch entries are present.

Windows 10 19045, GTX 1060 + WARP, debug layer on, full dev build: all 12 of this PR's packed-target and shared-exponent cases pass (startup_packed_target* including the sharedexp/sharedexp-uav controls, startup_sharedexp_target_{warp,hardware} and startup_packed_target_draw_{warp,hardware}). Main's new startup_image_load_d16_hardware and _controls pass too. startup_image_load_d16_warp fails here with Compute completion failed (HRESULT 0x887a0005) on the in-box Windows 10 WARP (10.0.19041). It fails the same way on a main-based build, so it is a host issue in that test, not part of this merge.

Status: ready to merge from our side.

@tedin7 tedin7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Re-review of head f8543deee89184babc77368b67e77cbeac60525b (comment only, not an approval). Previous review was on c2bce63d.

What changed since the last review

  • The only new commit is f8543dee, "Merge main into the format-67 target branch".
  • I compared the added and removed lines of the PR's 9 files (CMakeLists.txt, two docs, d3d12_draw.inl, d3d12_xs_device.cpp, packed_target_format.h, offscreen_check.cpp, startup_packed_target_check.cpp, startup_sharedexp_target.cpp) between c2bce63^..c2bce63 and origin/main...HEAD. Both sets are identical (383 lines each, empty diff). The merge introduced no change to the PR's own code, so my earlier code findings still hold.

Commands run locally (at this head)

  • git diff --stat origin/main...HEAD: 9 files, +372 -39.
  • python3 tests/docs_links_check.py: self-test passed, 18 Markdown files and 407 links checked.
  • python3 tests/bidi_controls_check.py: self-test passed, 1488 files, no bidirectional controls.
  • git diff --check origin/main...HEAD: clean.
  • gh pr checks 1963: Windows build and test pass, Linux Python checks pass, gfx1013 fixtures pass. /O2 and coverage publish were skipped.
  • Mergeable: MERGEABLE, merge state CLEAN.
  • Not run: the C++ tests are MSVC and Windows only (they do not build with mingw here), and I did not queue the Windows VM. Windows CI at this head passed, which covers the new startup_packed_target_*_control and startup_sharedexp_target_* ctest entries. I did not run my own mutation: the PR ships WILL_FAIL controls (sharedexp, sharedexp-uav, view, tag) that serve as mutations in CI.

Findings

  • P1: none.
  • P2: none.
  • Nit 1 (carried over): on an adapter that supports format 67 natively, startup_sharedexp_target_* exits 77 (skip), so CI passes without covering the substitution. Consider making that skip visible in the summary.
  • Nit 2 (carried over, still open): in the packed_target_format.h header comment, "R11G11B10_FLOAT has 6/6/5 mantissa bits" should say "6/6/5 mantissa bits plus per-channel 5-bit exponents".
  • Nit 3 (carried over, still open): the PR body still names AI tools (the verification intro and the final AI-assisted line). Please replace them with a neutral line, for example AI-assisted; commands listed were executed locally..

The title is neutral and the change is clean-room (public format spec only); the body needs the Nit 3 wording fix. No blocking issues.

AI-assisted; commands listed were executed locally.

@stan495 stan495 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Verified head f8543dee on Windows x64 (dev preset, MSVC 19.44.35228.0, SDK/DXC 10.0.26100.0):

  • cmake --build --preset dev --target offscreen_check startup_packed_target_check startup_stream_consumer d3d12_xs_shim -> succeeded
  • ctest --preset dev --no-tests=error -R '^(startup_packed_target|startup_sharedexp_target_)' -V:
    • Passed (10): startup_packed_target (97 rows), all 7 mutation controls (stand-in, array, b565, sharedexp, sharedexp-uav, view, tag), startup_packed_target_draw_warp, startup_packed_target_draw_hardware
    • Capability Skipped (2, exit 77): startup_sharedexp_target_warp (Microsoft Basic Render Driver, 10.0.26100.9818) and startup_sharedexp_target_hardware (AMD Radeon RX 7900 XTX, 32.0.32029.2010) both skipped because adapter supports native format-67 RT and UAV views (support1_67=0x2e8d3f0 on RX 7900 XTX).

Verdict: Approved at f8543dee (noting the format-67 capability skips above; fallback draw still needs an adapter without native format-67 RT/UAV support if desired).

@tedin7

tedin7 commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

@Jess-Doit could you rebase this branch onto current main and force-push?

GitHub reports head f8543dee as conflicting with main, so it cannot be merged as is.

Files that conflict with current main (39a576c0):

  • tests/offscreen_check.cpp

Commands run locally:

git fetch origin main pull/1963/head
git merge-tree --write-tree --name-only origin/main FETCH_HEAD
gh pr view 1963 --json mergeable   # CONFLICTING

Once it is rebased and CI is green it will be re-checked right away.

AI-assisted; commands listed were executed locally.

Desktop D3D12 refuses R9G9B9E5_SHAREDEXP (67) as a render target or typed
UAV. A single-sample 2D texture or array in that format that asks for
either use is now created as R11G11B10_FLOAT (26) when the adapter lacks
the use for 67 and has it for 26, through the same table-driven mapping as
the 16-bit packed stand-ins. The resource is tagged with 67; RTV, UAV and
SRV descriptions naming 67 on it, including SRVs rebuilt for translated
draws, use 26, and an optimized clear value follows the created format.

Tests: selection rows and two registered controls (format 67 left alone,
a UAV-only target left alone) in startup_packed_target_check, and a WARP
and hardware readback of RTV and partial UAV clears through the startup
device against independently encoded R11G11B10 words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jess-Doit
Jess-Doit force-pushed the startup/sharedexp-target-stand-in branch from f8543de to 5d8c1d6 Compare November 25, 2026 16:17
@Jess-Doit

Copy link
Copy Markdown
Contributor Author

@tedin7 thanks. Rebased onto current main (7092683a) as one commit and force-pushed: head is now 5d8c1d68.

  • Conflicts: tests/offscreen_check.cpp and docs/experiments.md. Both sides had added an entry at the same spot, so both are kept, and run_startup_sharedexp_target keeps its own return.
  • Tests: 14 of 15 pass for sharedexp|startup_packed_target|startup_image_load_d16 on Windows 10 build 19045, dev preset, GTX 1060 6GB (driver 32.0.15.6094) and in-box WARP 10.0.19041.
  • The one failure is startup_image_load_d16_warp. It fails the same way on main on this host's Windows 10 WARP. The hardware variant passes.

Ready to merge from our side.

tedin7 and others added 2 commits November 25, 2026 19:08
…rtup/sharedexp-target-stand-in

# Conflicts:
#	src/startup_stubs/d3d12_xs_device.cpp
@Jess-Doit

Copy link
Copy Markdown
Contributor Author

Thanks for updating the branch, @tedin7. main moved again right after (dbab5435, including #2443), so I merged it on top of your merge rather than rebasing: head is now 6127dd7d.

  • The one conflict was in src/startup_stubs/d3d12_xs_device.cpp: packed_clear_value from this PR, and startup: opt-in release of retired committed 2D textures after list and fence lifetimes (slice 1) #2443's release_retired_enabled and retire_class, added at the same spot. Both are kept.
  • Tests: Windows 10 build 19045, dev preset, GTX 1060 6GB (driver 32.0.15.6094) and in-box WARP.
    • startup_(packed_target|sharedexp_target|resource_budget|image_load_d16): 22 of 23 pass. The one failure is startup_image_load_d16_warp, which also fails on main on this host's WARP.
    • startup_resource_retire_: 6 of 6, with the switch on and off, on both adapters.

Ready to merge from our side.

@tedin7 tedin7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Review of head 6127dd7 (comment only).

Result: no problem found in the code. Not merged by us because the branch is 30 commits behind main (limit 20) and there is no Win2025 run on this head.

Checked:

  • packed_target_format.h: the single packed_target_mappings table now drives packed_target_format, packed_target_stand_in, mark_packed_stand_in and packed_view. The 16-bit to R8G8B8A8 entries keep their old behaviour (RTV trigger, same support check). Format 67 triggers on RTV or UAV, requires every requested use on format 26, and keeps its own format when the adapter supports it.
  • d3d12_draw.inl: the stand-in SRV now takes the real texture format instead of a hardcoded R8G8B8A8, which is needed for format 26. The log line now prints the actual format.
  • Tests: startup_sharedexp_target.cpp covers 2D and array, RTV/UAV/SRV, with CPU reference words, and both adapter branches (substitution and native) as described by the author. The old packed-format test was extended, not duplicated.
  • No claim about game startup or an executable result. The docs state the limits (no bit-layout conversion on uploads and copies).
  • CI on the head: Linux Python checks, gfx1013 fixtures and Windows build green.

Commands run locally on this head:

  • python3 tests/docs_links_check.py -> passed
  • python3 tests/bidi_controls_check.py -> passed
  • git diff --check origin/main...HEAD -> clean

Not verified here: the C++ fixtures (startup_sharedexp_target_*, startup_packed_target*) need D3D12 and only run on Windows, so I ran no mutation on them. The author's Windows 10 results (GTX 1060 and WARP) are on an earlier commit than this merge head.

Next step: update the branch with main (30 behind), then a Win2025 dev+release run on the new head, then it can be merged.

AI-assisted; commands listed were executed locally.

@tedin7

tedin7 commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Win2025 WARP receipt for head 54b0966 after updating with main.

Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit 54b09665c59090e6ee59ac6a79d54b7c63bf3360:

  • Debug (--preset dev):
    • Build (cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim offscreen_check startup_packed_target_check startup_stream_consumer -- -j 2): 61.22s (configure 0.00s)
    • Test (ctest --preset dev -R '^(startup_(packed_target.*|sharedexp_target.*|stubs)|docs_links)$' --parallel 2 --no-tests=error --output-on-failure): 12/14 passed (17.44s: startup_stubs 5.39s, startup_packed_target 0.52s, startup_packed_target_stand-in_control 0.29s, startup_packed_target_array_control 0.34s, startup_packed_target_draw_warp 6.84s, startup_packed_target_b565_control 0.48s, startup_packed_target_sharedexp_control 0.28s, startup_packed_target_sharedexp-uav_control 0.26s, startup_packed_target_view_control 0.47s, startup_packed_target_tag_control 0.49s, startup_sharedexp_target_hardware 0.44s, startup_sharedexp_target_warp 0.70s, docs_links 6.66s, startup_packed_target_draw_hardware 7.68s); skipped (capability, not a pass): startup_sharedexp_target_hardware, startup_sharedexp_target_warp
  • Release /O2 (--preset release):
    • Build (cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim offscreen_check startup_packed_target_check startup_stream_consumer -- -j 2): 17.46s (configure 0.00s)
    • Test (ctest --preset release -R '^(startup_(packed_target.*|sharedexp_target.*|stubs)|docs_links)$' --parallel 2 --no-tests=error --output-on-failure): 12/14 passed (21.28s: startup_stubs 9.59s, startup_packed_target_draw_warp 9.62s, startup_packed_target_stand-in_control 0.11s, startup_packed_target 0.49s, startup_packed_target_array_control 0.37s, startup_packed_target_sharedexp_control 0.22s, startup_packed_target_b565_control 0.55s, startup_packed_target_sharedexp-uav_control 0.46s, startup_packed_target_view_control 0.49s, startup_packed_target_tag_control 0.53s, startup_sharedexp_target_hardware 0.37s, startup_sharedexp_target_warp 0.72s, docs_links 3.60s, startup_packed_target_draw_hardware 6.33s); skipped (capability, not a pass): startup_sharedexp_target_hardware, startup_sharedexp_target_warp
  • sccache: 6/58 hits; wall 113.2s

Selection: dev 12/14 and release 12/14 passed, 2 skipped each (startup_sharedexp_target_warp and _hardware return 77: Server 2025 WARP exposes native format-67 RT/UAV, so the new readback branch does not run here; the seven --mutate controls, including the two new sharedexp ones, did run and pass).

AI-assisted; commands listed were executed locally.

@tedin7 tedin7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Review of head 54b0966 (the merge of main into the branch; the PR's own change is identical to the reviewed 6127dd7).

  • Code: format 67 maps to 26 only when 67 lacks a requested RT/UAV use and 26 supports all requested uses. RTV, UAV and SRV descriptions, reconstructed SRVs and optimized clear values follow the allocated format. Sampled-only resources keep their format. Limits are documented.
  • Tests: new startup_sharedexp_target readback plus two new --mutate controls (sharedexp, sharedexp-uav) next to the existing packed-target controls. Docs updated.
  • Win2025 (dev and release): 12/14 passed each, 2 skipped. The skipped ones are startup_sharedexp_target_warp and _hardware: they return 77 because Server 2025 WARP supports format 67 natively, so the substitution readback branch did not run here. The other half was run on a GTX 1060 and on WARP 10.0.19041 by the author and by ChazY11. All packed-target and sharedexp mutation controls passed.
  • Linux: git diff --check, tests/docs_links_check.py, tests/bidi_controls_check.py all clean. CI green on this head.
  • No game or startup-blocker claim, so this is a fixture-level stand-in. I did not run the C++ mutations by hand; I relied on the registered controls above.

AI-assisted; commands listed were executed locally.

@tedin7
tedin7 merged commit a634b2f into R0Y00:main Nov 25, 2026
5 checks passed
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.

4 participants