455 karma · joined March 13, 2026
Goldy has the high level structure of the shader graph and exchanges with the outside world (host memory, surfaces, etc) which is turned into a backend specific graph IR (different backends have different rules for command list retention and other properties). But my library also embeds Slang and uses Slang IR to inject and introspect on the user written shaders. I can then at runtime turn it into CUDA graphs (slang can turn any shader into a CUDA kernel) but with the added benefit that the runtime can manipulate the kernels and graph as more information is available. For example if a host upload that usually is scheduled between kernels isn't done on a specific graph submission, the graph partitioner can fuse kernels and remove a fence.
I plan to take advantage of the compiler and runtime introspection to implement some interesting features like shader coroutines without sacrificing GPU residency.
(The library is called goldy, and until I spend some time on it the readme and docs are sadly LLM generated)
On the other hand, I don't know if a slightly more customizable browser is something that's really worth building from scratch.
This means you designed the system well and made sure the agent implemented it correctly. Even at Big Company the big shot architects don't review every line of code, and nobody seemed to mind that