2026-09-26 21:51 UTC
@mcc@mastodon.social @MaddieM4@raphus.social The original SPIR was a fork of LLVM IR. SPIR-V is more or less "GLSL encoded as an SSA-based VM bytecode". @decay@gts.todayiwilllaunchmyinfantsonintoorbit.com @riley@toot.cat @ireneista@adhd.irenes.space @amarioguy@social.treehouse.systems
Replies (1)
-
@crzwdjk@mastodon.social 2026-09-27 00:37
@mcc@mastodon.social @MaddieM4@raphus.social @ireneista@adhd.irenes.space This was done for a couple reasons. One is that LLVM IR is not actually a stable target, it is ultimately an implementation detail of LLVM and changes as LLVM changes so you have to follow upstream LLVM or maintain your ancient version forever. Which is not desirable in a standard interchange format. The other is that LLVM isn't really a good fit for GPU code for a number of reasons, and was even less of a good fit at the time.