Skip to content

d3d12x: clear fallback shader-cache value size on a miss - #2

Merged
utkarshxdev merged 2 commits into
utkarshxdev:mainfrom
towiice:fix/shader-cache-session-com-hierarchy
Nov 25, 2026
Merged

utkarshxdev merged 2 commits into
utkarshxdev:mainfrom
towiice:fix/shader-cache-session-com-hierarchy

Conversation

@towiice

@towiice towiice commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

What is in it

  • The fallback shader-cache session still returns DXGI_ERROR_NOT_FOUND on a miss. It now sets the value size to zero when the caller supplies a size pointer.
  • The test covers the cache-miss output and the COM interfaces already supported by the fallback.

Tested

  • Revised checkout on macOS: cargo check --locked --target x86_64-pc-windows-msvc --offline --all-targets passed. ./scripts/verify_mac_build.sh reported 39 passed and 0 failed.
  • An isolated test of the actual FindValue implementation passed on the revision and failed on main because the output size stayed unchanged.
  • Contributor report for the earlier head 397e417 (Windows 11, GTX 1650 SUPER, Rust 1.100.0, GNU LLVM target): targeted test 1 passed, 0 failed. Workspace suite 781 passed, 0 failed, 45 ignored. Skipped for lack of wave64: gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware.

Regression run

The matching xcl-smoke runs on main and the final PR head are pending.

Not tested

  • Full Windows test execution on the revised head.
  • A retail title, Mac graphics runtime, or intro playback.

AI use

  • Antigravity (Gemini 4 Neon) wrote the initial change and test. Claude Code (Claude Sonnet 5.5) ran the original Windows tests. Codex narrowed the change, ran the checks above for the revision, and updated this description.

@utkarshxdev utkarshxdev changed the title d3d12x: answer IUnknown and ID3D12DeviceChild in DummyShaderCacheSession::QueryInterface and zero FindValue output size d3d12x: clear fallback shader-cache value size on a miss Nov 25, 2026
@utkarshxdev
utkarshxdev merged commit fc47711 into utkarshxdev:main Nov 25, 2026
0 of 2 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.

2 participants