Compare two translated shadow frames from the EXE entry #791

Merged
R0Y00 merged 1 commit from upstream-pr/797 into main 2026-11-23 05:17:04 +00:00
R0Y00 commented 2026-11-23 05:06:26 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T05:06:26Z.


Refs #730. Reuse the #773 renderer and independent CPU oracle from the CRT-free shim EXE. Shift the occluder four pixels in the second frame and reuse the device, target, camera depth, pipelines and descriptors. The stale control binds the previous light depth while still rendering and reading the current one.

On the local RTX 4060 Laptop and WARP, native, pe_map and AOT each matched 4,096 colors and 4,096 light depths per frame, four owned surface releases after the fence, and exit 42. The stale control differed from the fresh reference at exactly 170 second-frame pixels, with both depth readbacks matching.

Validation: ctest --preset release --no-tests=error -R '^(cpu_shim_(shadow|chain|compute)|mesh_shadow_draw)_(warp|hardware)$' -V passed 8/8.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6552686969 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/797). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T05:06:26Z. --- Refs #730. Reuse the #773 renderer and independent CPU oracle from the CRT-free shim EXE. Shift the occluder four pixels in the second frame and reuse the device, target, camera depth, pipelines and descriptors. The stale control binds the previous light depth while still rendering and reading the current one. On the local RTX 4060 Laptop and WARP, native, pe_map and AOT each matched 4,096 colors and 4,096 light depths per frame, four owned surface releases after the fence, and exit 42. The stale control differed from the fresh reference at exactly 170 second-frame pixels, with both depth readbacks matching. Validation: ctest --preset release --no-tests=error -R '^(cpu_shim_(shadow|chain|compute)|mesh_shadow_draw)_(warp|hardware)$' -V passed 8/8.
upstream-sync closed this pull request 2026-11-24 06:44:50 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!791
No description provided.