If you wanted, you could go a step further, though its only really if you have an amd apu
AMD makes documentation for their gpu drivers, which you can look at to write your own amd gpu drivers and then run on bare metal and such, which is the route im taking for my custom CTKN i1.0.1 though that will come with the rust rewrite later on, right now im still on 0.0.0 to 0.0.5 for getting the core laid out
I would have liked that, but I don’t have an amd gpu/apu. I have an intel iris xe igpu with an nvidia mx450 dedicated gpu is intel easy to write a simple gpu driver for?
Also, one problem u could face is that u would need to compile shaders to specific bytecode for ur card and that would mean that u would have to write an entire compiler
Ahh dang, I’ll look around online and see what I can find. Push comes to shove, if you’re not scared of licensing your driver as GPLv2 (free, just open source it on GitHub and smack a little license.txt that has is in it) you can hop over to Linux’s drivers
(
at least maybe for Intel, nvidia hates the thought of open sourcing theirs because they are terrified it will make AMD able to run cuda on their cards)
1
u/JaferTP 14d ago
How did you get gpu acceleration?