wrote enough of a spir-v parser to parse the shader blobs in the sdl3 gpu cube example. am I insane?
Conversation
Notices
-
Embed this notice
dave (dthompson@toot.cat)'s status on Monday, 13-Jan-2025 22:03:56 JST dave -
Embed this notice
dave (dthompson@toot.cat)'s status on Tuesday, 14-Jan-2025 03:23:47 JST dave my perhaps foolish dream here is to have enough of a spir-v toolchain in scheme that I can assemble my own shaders. the spec is massive but ignoring extensions and focusing only on vertex/fragment shaders should help scope things down a lot.
David Wilson repeated this. -
Embed this notice
dave (dthompson@toot.cat)'s status on Wednesday, 15-Jan-2025 23:16:07 JST dave kinda neat for not a ton of effort so far:
https://gist.github.com/davexunit/47ff5be24e69ec0c8d080f8dde49f820
need to write an assembler and see if it round trips.
-
Embed this notice