Olympus: emulate geometry wave64 on wave32 #13

Merged
bmjask merged 3 commits from upstream-pr/14 into main 2026-11-21 17:57:07 +00:00
bmjask commented 2026-11-21 17:28:14 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-21T17:28:14Z.


Summary

  • run legacy geometry ES work as two native wave32 halves when the PSO device lacks native wave64
  • synchronize ES output before re-entering GS on the first native wave
  • reject cross-half operations that are not safely emulated instead of silently miscompiling them
  • preserve the original single-wave geometry path on native-wave64 adapters
  • share exact-device path selection across production and direct geometry execution

Validation

  • GS pipeline integration test: passed on fixed-wave32 hardware
  • direct geometry execution: passed with 6 vertices, 2 triangles, validated attributes/indices, and 496 covered pixels
  • multi-group geometry regression: passed with vertex/triangle and raster validation
  • path-selection and cross-half hazard regressions: passed
  • xcl library tests: 202 passed, 13 ignored, 0 failed
<!-- greyfinch-sync:ivall/xcl:issue:6532101216 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/14). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-21T17:28:14Z. --- ## Summary - run legacy geometry ES work as two native wave32 halves when the PSO device lacks native wave64 - synchronize ES output before re-entering GS on the first native wave - reject cross-half operations that are not safely emulated instead of silently miscompiling them - preserve the original single-wave geometry path on native-wave64 adapters - share exact-device path selection across production and direct geometry execution ## Validation - GS pipeline integration test: passed on fixed-wave32 hardware - direct geometry execution: passed with 6 vertices, 2 triangles, validated attributes/indices, and 496 covered pixels - multi-group geometry regression: passed with vertex/triangle and raster validation - path-selection and cross-half hazard regressions: passed - xcl library tests: 202 passed, 13 ignored, 0 failed
upstream-sync closed this pull request 2026-11-24 06:56:44 +00:00
ivall commented 2026-11-24 07:00:17 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ivall on 2026-11-21T17:57:09Z.


Thanks – merged. Checked on an RX 9070 (native wave64): the game's sampled shaders translate to identical HLSL, the GS pipeline tests pass, and gpu_geometry_mode_es_gs_strip runs the split wave32 form on it too. Rejecting the cross-half operations instead of guessing is the right call.

<!-- greyfinch-sync:ivall/xcl:comment:7066889644 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/14#issuecomment-7066889644). Originally posted by [ivall](https://github.com/ivall) on 2026-11-21T17:57:09Z. --- Thanks – merged. Checked on an RX 9070 (native wave64): the game's sampled shaders translate to identical HLSL, the GS pipeline tests pass, and gpu_geometry_mode_es_gs_strip runs the split wave32 form on it too. Rejecting the cross-half operations instead of guessing is the right call.
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
xcl-dev/xcl!13
No description provided.