aboutsummaryrefslogtreecommitdiff
path: root/resources/sksl/errors/ModifiersInStruct.sksl
blob: c5bafc5b5c34d440f6b4303f3b61041e2ad8ee55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct S {
    const float a;
    uniform int b;
    flat half4 c;
    noperspective float4 d;
    inout bool e;
};

/*%%*
modifier 'const' is not permitted on a struct field
modifier 'uniform' is not permitted on a struct field
modifier 'flat' is not permitted on a struct field
modifier 'noperspective' is not permitted on a struct field
modifier 'inout' is not permitted on a struct field
*%%*/