logoalt Hacker News

hamdingers • yesterday at 10:00 PM • 1 reply • view on HN

> The game ships with raw RDNA 2 shaders, so the projects have to translate that to another format

Hypothetically, could someone with an RDNA 2 card skip this step? RX 6000 series GPUs or something like a BC-250


Replies

grg0 • yesterday at 11:42 PM

As far as I know, desktop graphics APIs/drivers don't allow you to straight up load shaders in assembly; they have you go through IL and they compile that down to the GPU's ISA. You would have to bypass the user-mode driver at the very least. TIL that consoles do allow this and it makes sense; why waste time compiling the shaders at runtime when you already know what the target hardware is.

➕ show 3 replies