Olympus: emulate geometry wave64 on wave32 #14

Manually merged
github merged 3 commits from gh-pr/14/head into gh-pr/14/base 2026-11-26 04:04:07 +00:00
Owner

@⁠bmjask on GitHub · 2026-11-21 17:28 UTC · original
bmjask:codex/olympus-wave32-geometry → main · +309 −46 · 7 files · 3 commits · merged 2026-11-21 17:57 UTC

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
**@⁠bmjask** on GitHub · 2026-11-21 17:28 UTC · [original](https://github.com/xcl-dev/xcl/pull/14) `bmjask:codex/olympus-wave32-geometry` → `main` · +309 −46 · 7 files · 3 commits · merged 2026-11-21 17:57 UTC ## 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
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:04:06 +00:00
github manually merged commit b2cc8edb1a into gh-pr/14/base 2026-11-26 04:04:07 +00:00
Author
Owner

@⁠ivall on GitHub · 2026-11-21 17:57 UTC · original

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.

**@⁠ivall** on GitHub · 2026-11-21 17:57 UTC · [original](https://github.com/xcl-dev/xcl/pull/14#issuecomment-7066889644) 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.
This discussion has been locked. Commenting is limited to contributors.
No description provided.