direct compute: lower DPP8 sources #3237

Closed
opened 2026-11-28 00:54:38 +00:00 by github-bot · 0 comments
Owner

@⁠Leyukaka on GitHub · 2026-11-28 00:54 UTC · original

Part of #2935 (and the "SDWA or DPP vector operands" bucket of #3226). Target branch main. I am taking it; the PR follows.

Gap. Direct compute decodes DPP8 (src0 233, and 234 with FI) only for graphics, and only for quad-local selections. Compute programs with DPP8 stop at "SDWA or DPP vector operands", for example v_min_f32_dpp vD, vA, vB dpp8:[4,5,6,7,0,1,2,3].

Measured with compile_dxil --jobs 8 gfx1013-direct-cs@36 --requests on main 38129ba3, before and with the change:

  • Local capture of 2,689 requests: 487 to 498 compile, and 16 more programs move past this refusal to a later one.
  • Requests of one start-up run: 500 to 511 compile.
  • The 882 requests of #3226: 110 to 113 compile.
  • No program that compiled before stops compiling.
  • All 27 affected capture requests are wave64. main compiles them with the wave32 model until #3006. A DPP8 selection stays inside groups of eight lanes, so it does not depend on the wave size.

Counts and instruction shape only.

AI-assisted.

**@⁠Leyukaka** on GitHub · 2026-11-28 00:54 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3235) Part of #2935 (and the "SDWA or DPP vector operands" bucket of #3226). Target branch `main`. I am taking it; the PR follows. **Gap.** Direct compute decodes DPP8 (src0 233, and 234 with FI) only for graphics, and only for quad-local selections. Compute programs with DPP8 stop at "SDWA or DPP vector operands", for example `v_min_f32_dpp vD, vA, vB dpp8:[4,5,6,7,0,1,2,3]`. **Measured** with `compile_dxil --jobs 8 gfx1013-direct-cs@36 --requests` on `main` `38129ba3`, before and with the change: - Local capture of 2,689 requests: 487 to 498 compile, and 16 more programs move past this refusal to a later one. - Requests of one start-up run: 500 to 511 compile. - The 882 requests of #3226: 110 to 113 compile. - No program that compiled before stops compiling. - All 27 affected capture requests are wave64. `main` compiles them with the wave32 model until #3006. A DPP8 selection stays inside groups of eight lanes, so it does not depend on the wave size. Counts and instruction shape only. AI-assisted.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 00:54:38 +00:00
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#3237
No description provided.