We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I expected to be able to use both imageLoad and imageStore on the same image to read and modify it from within a compute shader.
Trying with a declaration of: layout(r32f, binding=0) uniform highp image2D x;Produces "Shader error: Image has to be qualified as 'readonly', 'writeonly' or both."
layout(r32f, binding=0) uniform highp image2D x;
I haven't been able to find yet how to specify "both" as the error implies is possible. Is there a keyword for this I've missed?
I'm using a Mali-T720 with GLES 3.1 v1.r7p0-02