shader: gfx2hlsl refusals on pipelines first requested late in a long run (v_subrev_f32_dpp, v_writelane_b32 shapes, formatted buffer load descriptor proof) #3478

Open
opened 2026-11-29 16:54:13 +00:00 by Leyukaka · 0 comments
Leyukaka commented 2026-11-29 16:54:13 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-29T16:54:13Z.


Part of #1996, #2125.

One local run of the application (about 1,430 s). The graphics pipelines below were first requested during the run and refused by tools/startup/gfx2hlsl.py. Counts are pipelines (first refusal), not draws: no log gives refused draws per pipeline. Line numbers are on main c4b8a41b.

  • v_subrev_f32_dpp, 27 pipelines.
    • 17: v_subrev_f32_dpp outside the entry prefix of a pixel stage with the entry EXEC mask (:5491).
    • 10: v_subrev_f32_dpp quad_perm:[0,0,2,2] outside straight-line pixel code with a whole-quad exec mask (s_wqm exec, exec) (:5029).
  • v_writelane_b32 shapes, 31 pipelines.
    • 17: v<n> lanes <a> and <b> are one slot in wave32 and two in wave64 (:9574).
    • 11: v_writelane_b32 source s<n> holds a lane mask or descriptor (:9614).
    • 3: v<n> is also used as a vector (<op>) (:9588).
  • Formatted buffer load, 20 pipelines and 5 render-target variants.
    • formatted buffer load requires descriptor words proven in the entry block or a local table load (:7905).

Open PRs checked by diff: #3100 (pixel structured-to-raw loads), #3383 (VOPC DPP16 quad swaps), #3435 (scalar min/max SCC), #3401 and #3344 do not change these three refusals. #3383 edits the same DPP area of gfx2hlsl.py.

Not measured: whether the native graphics frontend accepts these programs.

I'm working on this.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6681463087 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3478). Originally posted by [Leyukaka](https://github.com/Leyukaka) on 2026-11-29T16:54:13Z. --- Part of #1996, #2125. One local run of the application (about 1,430 s). The graphics pipelines below were first requested during the run and refused by `tools/startup/gfx2hlsl.py`. Counts are pipelines (first refusal), not draws: no log gives refused draws per pipeline. Line numbers are on `main` `c4b8a41b`. - [ ] **`v_subrev_f32_dpp`, 27 pipelines.** - 17: `v_subrev_f32_dpp outside the entry prefix of a pixel stage with the entry EXEC mask` (`:5491`). - 10: `v_subrev_f32_dpp quad_perm:[0,0,2,2] outside straight-line pixel code with a whole-quad exec mask (s_wqm exec, exec)` (`:5029`). - [ ] **`v_writelane_b32` shapes, 31 pipelines.** - 17: `v<n> lanes <a> and <b> are one slot in wave32 and two in wave64` (`:9574`). - 11: `v_writelane_b32 source s<n> holds a lane mask or descriptor` (`:9614`). - 3: `v<n> is also used as a vector (<op>)` (`:9588`). - [ ] **Formatted buffer load, 20 pipelines and 5 render-target variants.** - `formatted buffer load requires descriptor words proven in the entry block or a local table load` (`:7905`). Open PRs checked by diff: #3100 (pixel structured-to-raw loads), #3383 (VOPC DPP16 quad swaps), #3435 (scalar min/max SCC), #3401 and #3344 do not change these three refusals. #3383 edits the same DPP area of `gfx2hlsl.py`. Not measured: whether the native graphics frontend accepts these programs. I'm working on this.
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#3478
No description provided.