Re: [Mesa-dev] [PATCH v2] glsl: buffer variables can be readonly and writeonly

2017-09-19 Thread Samuel Pitoiset
Reviewed-by: Samuel Pitoiset On 09/18/2017 05:56 PM, Juan A. Suarez Romero wrote: In GLSL ES 3.10 session 4.9 [Memory Access Qualifiers], it has the following description: "A variable could be qualified as both readonly and writeonly, disallowing both read and write, but still be passed to i

[Mesa-dev] [PATCH v2] glsl: buffer variables can be readonly and writeonly

2017-09-18 Thread Juan A. Suarez Romero
In GLSL ES 3.10 session 4.9 [Memory Access Qualifiers], it has the following description: "A variable could be qualified as both readonly and writeonly, disallowing both read and write, but still be passed to imageSize() to have the size queried.". This is for image variable, but not for buffer