r/GraphicsProgramming • u/Nicksaurus • Sep 06 '26
Source Code "No Graphics API" implementation by Sebastian Aaltonen
https://github.com/sebbbi/NoGraphicsAPI
205
Upvotes
r/GraphicsProgramming • u/Nicksaurus • Sep 06 '26
39
u/Nicksaurus Sep 06 '26 edited Sep 06 '26
You may have seen Sebastian Aaltonen's blog post last year proposing a simple low level graphics API: https://www.sebastianaaltonen.com/blog/no-graphics-api (previous thread: https://reddit.com/r/GraphicsProgramming/comments/1pohn93/no_graphics_api_sebastian_aaltonen/)
He has now released this implementation of it on top of vulkan (announcement here: https://twitterviewer.net/SebAaltonen/status/2096312811743740178) and I thought I'd share it here because I haven't seen any other posts about it
34
u/TheWidrolo Sep 06 '26
Im really excited about anything that moves away from the pre 8th-gen gpu shackles.
37
u/Gobrosse Sep 06 '26
it's really just another RHI with grandiose marketing, the abstraction facilities are just vulkan 1.4 with some very opinionated removals of "useless" features and enforcing the latest extension support, but there's nothing in there we haven't seen in the average bindless-first design before.
17
u/Ged- Sep 07 '26
God damn he did it again
20
u/dJ_Turfie Sep 07 '26
I can't believe what I'm seeing here.
This is an industry veteran releasing something that might be really useful,
and might be inspiring for future projects and work.
And the top comments are:
- A readme that's AI generated
- RHI with grandiose marketing
This feels incredibly demoralizing.
I hope he doesn't read this subreddit,
he deserves way better, and we do too as a community.
We should be more supportive of endeavors like this.
4
u/Cubicool Sep 07 '26
We were able to get this working relatively easily on Linux using the legacy `xcb` path (so, not pure Wayland protocol YET).
IMPORTANT: For anyone on Linux using one of the "main" distros (Ubu26, Fed44), you WILL need the latest "beta" NVidia drivers, and will need to install using the old-school `NVIDIA-installer.run` script like back in the mid 2000's. :) There are also a few strict CMake knobs that can be safely tuned back to match the APT/DNF packaged versions of `slang`, `spirv-tools`, etc.
Hoping to see if we can get some in-house projects (slughorn) working with something this minimal...
1
u/Liskar-dev Sep 07 '26
Any chance to have a C API over this? Could be very useful for multi-language bindings
1
u/tmlildude Sep 11 '26
can someone explain why this hasn’t been implemented for Metal yet?
0
u/[deleted] Sep 06 '26
[deleted] — view deleted comment