I'm slowly working through the vulkan spec writing a compute-only vulkan program from scratch that doesn't render anything, and it's going pretty well because the spec is really well written and I already know more or less exactly what I want to do anyway, but I just want to say just how silly (fun) it feels to write a program like this because you get to just skip over large swaths of the API.
Like, I'm working from the spec because the tutorials all make it more complicated.
I think it's cute that practically every vulkan command has one or more optional args to let you enter Hard Mode
(sorry for the double post, I added this to the wrong thread)
I wonder how many people have actually managed to knuckle down and write a complete, useful vulkan program from scratch (no copy pasting from tutorials and stack overflow, no offloading significant parts to 3rd party libraries like VMA)
To think if I power through and get this thing working I could potentially be like the 20th person to bother
@aeva So for example, here's passing some buffers into a compute shader with my thing.
Associated struct definition:
https://github.com/jsimmons/narcissus/blob/main/title/shark-shaders/src/pipelines.rs#L238-L246
Dispatch:
https://github.com/jsimmons/narcissus/blob/main/title/shark/src/draw.rs#L940-L956