shader: accept multi-dword GLOBAL loads through root addresses in direct Compute #3163

Closed
opened 2026-11-27 19:19:21 +00:00 by RonLogic · 0 comments
RonLogic commented 2026-11-27 19:19:21 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-27T19:19:21Z.


Refs #2935 and #2962. I’ll extend the direct Compute scalar-address GLOBAL load path to global_load_dwordx2, global_load_dwordx3, and global_load_dwordx4. All three source-built requests currently stop at guest +0x38 on 88cddb09 with the single-dword refusal. Pixel-AOT flat/global loads and #3143 raw MUBUF loads are separate.

Reuse the root-address provenance and signed immediate checks, preserve DWORD alignment and masked VGPR writes, guard the byte span from 32-bit address wrap, and retain named refusals for unsupported root/segment or register-range forms. Verify the contiguous values and a view-edge case with the existing synthetic root SRV replay. Include sparse EXEC, a VADDR/destination alias, and a negative control that distinguishes the component order.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6653093762 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3163). Originally posted by [RonLogic](https://github.com/RonLogic) on 2026-11-27T19:19:21Z. --- Refs #2935 and #2962. I’ll extend the direct Compute scalar-address GLOBAL load path to `global_load_dwordx2`, `global_load_dwordx3`, and `global_load_dwordx4`. All three source-built requests currently stop at guest `+0x38` on `88cddb09` with the single-dword refusal. Pixel-AOT flat/global loads and #3143 raw MUBUF loads are separate. Reuse the root-address provenance and signed immediate checks, preserve DWORD alignment and masked VGPR writes, guard the byte span from 32-bit address wrap, and retain named refusals for unsupported root/segment or register-range forms. Verify the contiguous values and a view-edge case with the existing synthetic root SRV replay. Include sparse EXEC, a VADDR/destination alias, and a negative control that distinguishes the component order.
Sign in to join this conversation.
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#3163
No description provided.