News for hackers. Stuff that matters.
Re:PS4 Emulator for Windows,Linux,macOS by lxgr on Wednesday August 21, 2024 @10:42AM (#41310790)
Ah, sorry, then I carried over an assumption from OpenGL (where GLSL is actually what's packaged, or at least was a couple of years ago when I last looked at it).

In any case, that intermediate representation is probably still easier to compile to hardware-specific code, especially if the hardware has a Direct3D implementation. That's what it's designed for, after all!

Re:PS4 Emulator for Windows,Linux,macOS by Sesse__ on Wednesday August 21, 2024 @11:00AM (#41310985)
OpenGL also supports SPIR-V, a similar intermediate format, since 2017 (it came into core in OpenGL 4.6).
Re:PS4 Emulator for Windows,Linux,macOS by account42 on Friday August 23, 2024 @04:05AM (#41327070)
Technically true but if you are going to use SPIR-V you might as well jump over to Vulkan. Do you know of any OpenGL games that actually ship SPIR-V? I can imagine it getting used in CAD applications with huge legacy OpenGL code bases but for Games OpenGL+SPIR-V doesn't really have a good use case.
Re:PS4 Emulator for Windows,Linux,macOS by Sesse__ on Friday August 23, 2024 @05:40AM (#41327554)
I guess not a lot of games really use OpenGL at all anymore? But I haven't gone around and tried making a survey. :-)