News for hackers. Stuff that matters.
Re:SDL3 new GPU API merged by jb1991 on Friday August 30, 2024 @01:54AM (#41398023)
SDL is also offering cross platform GPU compute, is that also available in Godot?
Re:SDL3 new GPU API merged by runevault on Friday August 30, 2024 @02:05AM (#41398073)
So I haven't used compute shaders though I remembered Godot having them and double checked. Interestingly they are direct glsl which makes me wonder if they only work in OGL contexts. Which would be... weird because Godot 4.3 shipped easy DirectX output support. I'm sort of tempted to test out making a compute shader and compiling to DX and see if it works.

Edit: Doing more digging according to the end of this forum thread they get compiled to SPIR-V and then to whatever backend is needed, be it GLSL, HLSL, etc.

https://forum.godotengine.org/t/compute-shaders-in-godot/461...