Create the packaged upscaler recurrent texture on desktop D3D12 #43

Merged
R0Y00 merged 1 commit from upstream-pr/43 into main 2026-11-21 13:01:04 +00:00
R0Y00 commented 2026-11-21 12:59:14 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T12:59:14Z.


Fixes #39.

The offline translation builds the first provider descriptor and calls desktop D3D12 with the recovered heap, resource flags, format and state. For the default path FSR4UPSCALER_Recurrent follows the configured output dimensions. The binding maps Xbox layout 0x101 to driver-chosen desktop layout and uses node masks 1/1. The callback stores the resource pointer in record 1 and writes index 1 to provider resource ID 13.

Verification

At c8065c5 both package tests passed on the RTX 4060 Laptop and WARP. Each created 1920x1080 and 1600x900 textures with S_OK using a fixed 1280x720 render size. GetDesc, the backend pointer, provider indices, next cursor and UAV/copy-source transitions matched expectations. Both debug layers reported zero errors and warnings.

The default full Windows suite completed with 66 passes and two wave64 capability skips. Public CI uses the source-owned WARP control and a native-versus-translated MASM descriptor fixture. Only the local package build translates the packaged code.

Parameters and reproduction commands. #42 tracks descriptor views.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6529071888 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/43). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-21T12:59:14Z. --- Fixes #39. The offline translation builds the first provider descriptor and calls desktop D3D12 with the recovered heap, resource flags, format and state. For the default path FSR4UPSCALER_Recurrent follows the configured output dimensions. The binding maps Xbox layout 0x101 to driver-chosen desktop layout and uses node masks 1/1. The callback stores the resource pointer in record 1 and writes index 1 to provider resource ID 13. ## Verification At c8065c5 both package tests passed on the RTX 4060 Laptop and WARP. Each created 1920x1080 and 1600x900 textures with S_OK using a fixed 1280x720 render size. GetDesc, the backend pointer, provider indices, next cursor and UAV/copy-source transitions matched expectations. Both debug layers reported zero errors and warnings. The default full Windows suite completed with 66 passes and two wave64 capability skips. Public CI uses the source-owned WARP control and a native-versus-translated MASM descriptor fixture. Only the local package build translates the packaged code. [Parameters and reproduction commands](https://github.com/R0Y00/Xbox2Windows/blob/c8065c5/docs/experiments.md#creating-the-first-recurrent-texture). #42 tracks descriptor views.
upstream-sync closed this pull request 2026-11-24 06:41:06 +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!43
No description provided.