This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GLSL Compute Shader: ERROR: xxx: S0001: Function call discards 'readonly' access qualifier.

Hi, I have compute shader with following code:

During compiling i have got error for calling function "SelectLodByDistance": ERROR: xxx: S0001: Function call discards 'readonly' access qualifier.

But if I change code:

It works, What do i do wrong ?

BR, Andrey

0