1#version 450 2 3struct S { mat4 m; }; 4buffer blockName { S s1; }; // need an S with decoration 5S s2; // no decorations on S 6 7void fooConst(const in S s) { } 8void foo(in S s) { } 9void fooOut(inout S s) { } 10 11void main() 12{ 13 fooConst(s1); 14 fooConst(s2); 15 16 foo(s1); 17 foo(s2); 18 19 fooOut(s1); 20 fooOut(s2); 21}