Skip to content

ssbo-atomics: Test that there is no implicit conversion of "mem" parameter

Per GLSL 4.60 spec, section 8.11 - all atomicOP functions have first parameter with "inout" qualifier.
Per section 6.1 - for "inout" parameter to be implicitly converted, its type must support bi-directional conversion. There is no such types in glsl.

Therefor we should expect compilation errors.

Reproduces a crash from: mesa#2837 (closed)

Merge request reports