runtime: bind a raw buffer UAV for native translated pixel stores #3212

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

Imported from R0Y00/Xbox2Windows. Originally posted by xiaoqi72665 on 2026-11-27T21:49:32Z.


Refs #3074, #3198, #2155, #2059.

At main e219d72, the native compiler supports a source-built pixel buffer_store_dword, but format_graphics_runtime_manifest excludes raw_buffer_uav, and the graphics cache loader explicitly refuses "uav N raw table P O". I'd like to take the narrow offline-native pair -> cache -> graphics draw binding slice. This is not first-use compilation (#2981/#3094), mesh binding, vertex-store lowering (#2059), or atomic lowering. I checked the current open PRs; #3094 and #2981 touch the same file, so please flag any overlap and I will coordinate the merge order.

Plan: reuse the existing raw buffer view validator and graphics UAV table/state tracking, keep explicit refusals for unsupported views, and verify the exact bounded buffer and color-target readbacks from a source-built pixel shader (including nonzero view/table offsets and wrong-view controls). RX 7900 XT + WARP, Debug and Release. Actual title impact is not established.

Claim: I (Buhe) am taking this slice; source-built inputs only. AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6654990623 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3212). Originally posted by [xiaoqi72665](https://github.com/xiaoqi72665) on 2026-11-27T21:49:32Z. --- Refs #3074, #3198, #2155, #2059. At main e219d72, the native compiler supports a source-built pixel buffer_store_dword, but format_graphics_runtime_manifest excludes raw_buffer_uav, and the graphics cache loader explicitly refuses "uav N raw table P O". I'd like to take the narrow offline-native pair -> cache -> graphics draw binding slice. This is not first-use compilation (#2981/#3094), mesh binding, vertex-store lowering (#2059), or atomic lowering. I checked the current open PRs; #3094 and #2981 touch the same file, so please flag any overlap and I will coordinate the merge order. Plan: reuse the existing raw buffer view validator and graphics UAV table/state tracking, keep explicit refusals for unsupported views, and verify the exact bounded buffer and color-target readbacks from a source-built pixel shader (including nonzero view/table offsets and wrong-view controls). RX 7900 XT + WARP, Debug and Release. Actual title impact is not established. Claim: I (Buhe) am taking this slice; source-built inputs only. AI-assisted.
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#3212
No description provided.