xref: /aosp_15_r20/external/skia/resources/sksl/errors/BadModifiers.sksl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Workerconst in out uniform flat noperspective $pure inline noinline readonly writeonly pixel_local
2*c8dee2aaSAndroid Build Coastguard Workerbuffer void func1() {}
3*c8dee2aaSAndroid Build Coastguard Worker
4*c8dee2aaSAndroid Build Coastguard Workervoid func2(const in out uniform flat noperspective $pure
5*c8dee2aaSAndroid Build Coastguard Worker           inline noinline readonly writeonly buffer pixel_local float test) {}
6*c8dee2aaSAndroid Build Coastguard Worker
7*c8dee2aaSAndroid Build Coastguard Workerconst in out uniform flat noperspective $pure inline noinline readonly writeonly pixel_local
8*c8dee2aaSAndroid Build Coastguard Workerbuffer float var;
9*c8dee2aaSAndroid Build Coastguard Worker
10*c8dee2aaSAndroid Build Coastguard Workerconst in out uniform flat noperspective $pure inline noinline readonly writeonly pixel_local
11*c8dee2aaSAndroid Build Coastguard Workerbuffer MyInterfaceBlock { float var; };
12*c8dee2aaSAndroid Build Coastguard Worker
13*c8dee2aaSAndroid Build Coastguard Worker/*%%*
14*c8dee2aaSAndroid Build Coastguard Workertype 'void' does not support qualifier 'readonly writeonly'
15*c8dee2aaSAndroid Build Coastguard Worker'const' is not permitted here
16*c8dee2aaSAndroid Build Coastguard Worker'in' is not permitted here
17*c8dee2aaSAndroid Build Coastguard Worker'out' is not permitted here
18*c8dee2aaSAndroid Build Coastguard Worker'uniform' is not permitted here
19*c8dee2aaSAndroid Build Coastguard Worker'flat' is not permitted here
20*c8dee2aaSAndroid Build Coastguard Worker'noperspective' is not permitted here
21*c8dee2aaSAndroid Build Coastguard Worker'$pure' is not permitted here
22*c8dee2aaSAndroid Build Coastguard Worker'buffer' is not permitted here
23*c8dee2aaSAndroid Build Coastguard Worker'pixel_local' is not permitted here
24*c8dee2aaSAndroid Build Coastguard Workerfunctions cannot be both 'inline' and 'noinline'
25*c8dee2aaSAndroid Build Coastguard Workertype 'float' does not support qualifier 'readonly writeonly'
26*c8dee2aaSAndroid Build Coastguard Worker'uniform' is not permitted here
27*c8dee2aaSAndroid Build Coastguard Worker'flat' is not permitted here
28*c8dee2aaSAndroid Build Coastguard Worker'noperspective' is not permitted here
29*c8dee2aaSAndroid Build Coastguard Worker'$pure' is not permitted here
30*c8dee2aaSAndroid Build Coastguard Worker'inline' is not permitted here
31*c8dee2aaSAndroid Build Coastguard Worker'noinline' is not permitted here
32*c8dee2aaSAndroid Build Coastguard Worker'buffer' is not permitted here
33*c8dee2aaSAndroid Build Coastguard Worker'pixel_local' is not permitted here
34*c8dee2aaSAndroid Build Coastguard Workertype 'float' does not support qualifier 'readonly writeonly'
35*c8dee2aaSAndroid Build Coastguard Worker'in uniform' variables not permitted
36*c8dee2aaSAndroid Build Coastguard Worker'uniform buffer' variables not permitted
37*c8dee2aaSAndroid Build Coastguard Worker'$pure' is not permitted here
38*c8dee2aaSAndroid Build Coastguard Worker'inline' is not permitted here
39*c8dee2aaSAndroid Build Coastguard Worker'noinline' is not permitted here
40*c8dee2aaSAndroid Build Coastguard Worker'buffer' is not permitted here
41*c8dee2aaSAndroid Build Coastguard Worker'pixel_local' is not permitted here
42*c8dee2aaSAndroid Build Coastguard Worker'const' variables must be initialized
43*c8dee2aaSAndroid Build Coastguard Worker'in uniform' variables not permitted
44*c8dee2aaSAndroid Build Coastguard Worker'readonly' and 'writeonly' qualifiers cannot be combined
45*c8dee2aaSAndroid Build Coastguard Worker'uniform buffer' variables not permitted
46*c8dee2aaSAndroid Build Coastguard Worker'$pure' is not permitted here
47*c8dee2aaSAndroid Build Coastguard Worker'inline' is not permitted here
48*c8dee2aaSAndroid Build Coastguard Worker'noinline' is not permitted here
49*c8dee2aaSAndroid Build Coastguard Worker'pixel_local' is not permitted here
50*c8dee2aaSAndroid Build Coastguard Worker*%%*/
51