Skip to content

Backport two Mesa 23.1.4 fixes for LLVM >=18 - #503

Merged
jfpanisset merged 1 commit into
AcademySoftwareFoundation:mainfrom
nicolaspopravka:bugfix/mesa-llvm18-runtime-backports
Oct 31, 2026
Merged

jfpanisset merged 1 commit into
AcademySoftwareFoundation:mainfrom
nicolaspopravka:bugfix/mesa-llvm18-runtime-backports

Conversation

@nicolaspopravka

Copy link
Copy Markdown
Contributor

Mesa 23.1.4 builds against the CY2026 image's LLVM 20, but Storm software rendering still fails with the ASWF driver selected.

This adds two upstream backports:

  • 550cc685 supplies the llvm.coro.end token argument required by LLVM >=18, fixing the CallBase::getArgOperand assertion.
  • 99f04499 disables test-only fixpoint verification in Mesa's explicit InstCombine pipeline, fixing the subsequent abort.

Tested by rebuilding Mesa against LLVM 20.1.7 and replacing only swrast_dri.so in the CY2026 image. The stock usdrecord Storm/Teapot software demo completes and produces the same image as the working reference. The full Conan package rebuild remains untested.

The patches affect LLVM >=18 behavior: CY2025 is also relevant but not yet tested; CY2023/24 retain their existing behavior. Mesa 25.0.7 in CY2027 already includes both fixes and is unchanged by this PR.

Assisted-by: OpenAI Codex
Assisted-by: OpenCode / Big Pickle

Assisted-by: OpenAI Codex
Assisted-by: OpenCode / big-pickle
Signed-off-by: Nicolas Popravka <nicolaspopravka@gmail.com>

@jfpanisset jfpanisset left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking forward to having hdStorm software rendering work across all VFX platform years

@jfpanisset
jfpanisset merged commit 3cba873 into AcademySoftwareFoundation:main Oct 31, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants