Codex crunched through August Steam HW survey results with latest driver info from Vulkan HW database. NoGraphicsAPI support = 71.62% of Steam gamers. Assuming I add a GPU pointer -> buffer+index pair mapping fallback for draw/copy commands. github.com/sebbbi/NoGraphics…
7
5
179
14,923
Yeah a fallback would be great - what about something I did here in the dx12 port: github.com/jazzbre/NoGraphic…
1
5
619
How did you implement the root struct and GPU pointers? Slang doesn't support GPU pointers for DX12.
1
591
You have to use NGA_ROOT define and GpuPtr for all the pointers used in there.
1
300
Yeah. That works. I was toying with a similar idea but with 32/32-bit split. 16/48 split seems better. Those macros are a bit hacky, but they do their job. It is a workable approach. But it doesn't support real pointer arithmetic in the shader.
1
2
1,100
Replying to @amjazzbre
Also it only seems to support writing the whole struct. Writing a single field is a common requirement. Compiler can likely optimize single field read (dead code eliminate rest), but I don't think it can do that for writes.

Sep 23, 2026 · 8:57 AM UTC

1
2
1,077
Sort replies: Relevant Recent Liked
Replying to @SebAaltonen
Yes it's not perfect - but it's still much better than how we write shaders nowadays. I don't know how this maps (if at all) to other graphics apis such as metal though.
1
2
258
Metal and CUDA have native pointer support. Slang supports Metal pointers directly. No hacks. No BDA extension. Just works out of the box.
1
2
265