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) #3480

Open
opened 2026-11-29 16:57:52 +00:00 by github-bot · 0 comments
Owner

@⁠Leyukaka on GitHub · 2026-11-29 16:54 UTC · original

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), #3385 (VOPC DPP16 quad swaps), #3437 (scalar min/max SCC), #3403 and #3346 do not change these three refusals. #3385 edits the same DPP area of gfx2hlsl.py.

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

I'm working on this.

**@⁠Leyukaka** on GitHub · 2026-11-29 16:54 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/3478) 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), #3385 (VOPC DPP16 quad swaps), #3437 (scalar min/max SCC), #3403 and #3346 do not change these three refusals. #3385 edits the same DPP area of `gfx2hlsl.py`. Not measured: whether the native graphics frontend accepts these programs. I'm working on this.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 16:57:53 +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#3480
No description provided.