1flat float _flat; 2noperspective float _noperspective; 3in float _in; 4out float _out; 5workgroup float _workgroup; 6$es3 float _es3; 7$pure float _pure; 8inline float _inline; 9noinline float _noinline; 10readonly float _readonly; 11writeonly float _writeonly; 12 13flat void flat_fn() {} 14noperspective void noperspective_fn() {} 15in void in_fn() {} 16out void out_fn() {} 17workgroup void workgroup_fn() {} 18$es3 void es3_fn() {} 19$pure void sk_pure_fn() {} 20readonly void readonly_fn() {} 21writeonly void writeonly_fn() {} 22buffer void buffer_fn() {} 23 24float4 main(float2 xy) { 25 return float4(1); 26} 27 28/*%%* 29'flat' is not permitted here 30'noperspective' is not permitted here 31'in' is not permitted here 32'out' is not permitted here 33'workgroup' is not permitted here 34'$es3' is not permitted here 35'$pure' is not permitted here 36'inline' is not permitted here 37'noinline' is not permitted here 38type 'float' does not support qualifier 'readonly' 39type 'float' does not support qualifier 'writeonly' 40'flat' is not permitted here 41'noperspective' is not permitted here 42'in' is not permitted here 43'out' is not permitted here 44'workgroup' is not permitted here 45'$es3' is not permitted here 46'$pure' is not permitted here 47type 'void' does not support qualifier 'readonly' 48type 'void' does not support qualifier 'writeonly' 49'buffer' is not permitted here 50*%%*/ 51