tooling: accept reviewed address-only mesh pixel inputs #3308

Merged
R0Y00 merged 1 commit from upstream-pr/3308 into codex/native-shader-modules 2026-11-28 08:36:36 +00:00
R0Y00 commented 2026-11-28 07:51:36 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-28T07:51:36Z.


Refs #2413 and #3091. This PR targets the compiler branch because main does not yet contain the raw Mesh57 pixel compiler.

Accept the explicit meshps2 <address> <wave> [guest_root] layout for a reviewed address-only record. meshps1 retains independent enable and address masks. The source-built fixture exercises perspective-center allocation followed by position W and fixed XY, checks the exact DXIL input channels, and rejects a read when the same W slot is explicitly disabled.

Local integration validation on Windows 11 26200.9974, MSVC and SDK 10.0.26100.0:

ctest --test-dir out/mesh-parameter-audit/build-integrated-vs --no-tests=error -R '^(native_direct_container|native_direct_mesh|native_fixed_mesh57_(compact_heap|pixel_heap|waterfall)_(warp|hardware))$' --output-on-failure

8 passed on the local integration build. A separate source-built W readback returned 4.0 with clip W = 4 on RTX 4060 Laptop (32.0.16.1656) and WARP (10.0.26100.9818), with D3D12 debug enabled. Validation of this PR head is separate. The PR changes only the offline layout reader and its fixture.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:5538060727 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3308). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-28T07:51:36Z. --- Refs #2413 and #3091. This PR targets the compiler branch because `main` does not yet contain the raw Mesh57 pixel compiler. Accept the explicit `meshps2 <address> <wave> [guest_root]` layout for a reviewed address-only record. `meshps1` retains independent enable and address masks. The source-built fixture exercises perspective-center allocation followed by position W and fixed XY, checks the exact DXIL input channels, and rejects a read when the same W slot is explicitly disabled. Local integration validation on Windows 11 26200.9974, MSVC and SDK 10.0.26100.0: ```powershell ctest --test-dir out/mesh-parameter-audit/build-integrated-vs --no-tests=error -R '^(native_direct_container|native_direct_mesh|native_fixed_mesh57_(compact_heap|pixel_heap|waterfall)_(warp|hardware))$' --output-on-failure ``` 8 passed on the local integration build. A separate source-built W readback returned 4.0 with clip W = 4 on RTX 4060 Laptop (32.0.16.1656) and WARP (10.0.26100.9818), with D3D12 debug enabled. Validation of this PR head is separate. The PR changes only the offline layout reader and its fixture.
R0Y00 commented 2026-11-28 07:56:10 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-28T07:56:10Z.


Verified head d12573341b0e26ab6db4d4324e1988d2dd236338 in an isolated Release source export. The two modified file blob IDs match the PR head. Windows 11 26200.9974, MSVC 19.51, Windows SDK 10.0.26100.0.

cmake --build <build-dir> --target compile_dxil
ctest --test-dir <build-dir> --no-tests=error -R '^native_direct_(container|mesh)$' --output-on-failure

2 passed, 0 failures, 0 skips. Manual Windows workflow.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7236255725 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/3308#issuecomment-7236255725). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-28T07:56:10Z. --- Verified head `d12573341b0e26ab6db4d4324e1988d2dd236338` in an isolated Release source export. The two modified file blob IDs match the PR head. Windows 11 26200.9974, MSVC 19.51, Windows SDK 10.0.26100.0. ```powershell cmake --build <build-dir> --target compile_dxil ctest --test-dir <build-dir> --no-tests=error -R '^native_direct_(container|mesh)$' --output-on-failure ``` 2 passed, 0 failures, 0 skips. [Manual Windows workflow](https://github.com/R0Y00/Xbox2Windows/actions/runs/46123232367).
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!3308
No description provided.