For the next game, I am researching compute shaders in Defold.
Although I wasn’t able to even run the build from MacOS (m3) (I did switch to Vulkan in appmanifest, but couldn’t get rid of errors), but I was able to run the build from Windows with OpenGL without errors.
Everything runs, but the texture is not changed after dispatching the compute shader.
I have created a minimal repository to test writing solid colour to a texture from a compute shader: GitHub - BigButton-Co/compute_test
Do you know if it’s a bug or if I am missing something?
Can you try this example to see if it works on your setup? It should be compatible with latest 1.9.9 that is in beta now, which also uses vulkan by default on osx.
Ok thank you, I’ll have to take a look at why windows doesn’t work. Im guessing it’s OpenGL related but not sure. It you are up for it, can you try with vulkan on windows?