(I’m very new to SDL3 and if my question doesn’t make sense, please point me out.)
I just learned that SDL3 now supports modern GPU backends. I checked the overview on Github, but got a bit confused over this:
The SDL3 GPU API only cares about compiled shader binaries, and it accepts several different formats. So if you want to force Vulkan behind the scenes and only provide SPIR-V binaries, or use Direct3D 12 and provide DXIL, or provide several binary formats and use several different backends, you can do that and not worry about this at all .
Does it mean the user has to handle shader compilation themselves? And they have to write the same shader in different languages for different platforms, like HLSL for Windows, MSL for Mac and WGSL for WebGPU? How about the consoles?