direct compute: lower DPP8 sources #3235

Closed
opened 2026-11-28 00:54:34 +00:00 by Leyukaka · 0 comments
Leyukaka commented 2026-11-28 00:54:34 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-28T00:54:34Z.


Part of #2935 (and the "SDWA or DPP vector operands" bucket of #3224). 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 #3224: 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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6656919997 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3235). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-11-28T00:54:34Z. --- Part of #2935 (and the "SDWA or DPP vector operands" bucket of #3224). 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 #3224: 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.
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#3235
No description provided.