grimfang4 / sdl-gpu

A library for high-performance, modern 2D graphics with SDL written in C.
MIT License
1.19k stars 123 forks source link

Compute shaders #210

Closed aganm closed 3 years ago

aganm commented 3 years ago

Would it be a lot of work to add compute shaders support to SDL gpu?

grimfang4 commented 3 years ago

I've used compute shaders with Unity, but I don't have the experience yet on other platforms, so I don't grasp their system commonalities yet. I would not be comfortable adding support for compute myself at this point, but I'd accept pull requests.

grimfang4 commented 3 years ago

That said, you can force SDL_gpu to use a specific version of OpenGL and you can make your own direct GL API calls to work with compute shaders alongside SDL_gpu.