Compute shader not working
Just as it says. This should set the color of the screen to pure white, but I only see the default fallback shaders.
I'm on an AMD RX 580, using Garuda Linux (basically Arch)
1 Reply
Update: the code works only if you explicitly declare the format of the buffers. I was following an example compute shader for Optifine which didn't do this. I'm not sure if the code assumed that Optifine would make all buffers RGBA8 by default, or if it was an oversight by the code author. It could be worth looking into as a possible disparity or unintended behavior.
It's worth noting that the format declarations do not work in compute shaders, not sure if this is intentional either.