• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1uniform short  s;
2uniform short2 s2;
3uniform short3 s3;
4uniform short4 s4;
5
6uniform bool  b;
7uniform bool2 b2;
8uniform bool3 b3;
9uniform bool4 b4;
10
11struct St { float f; };
12
13uniform St st;
14
15half4 main(float2 xy) {
16    return half4(0);
17}
18
19/*%%*
20variables of type 'short' may not be uniform
21variables of type 'short2' may not be uniform
22variables of type 'short3' may not be uniform
23variables of type 'short4' may not be uniform
24variables of type 'bool' may not be uniform
25variables of type 'bool2' may not be uniform
26variables of type 'bool3' may not be uniform
27variables of type 'bool4' may not be uniform
28variables of type 'St' may not be uniform
29*%%*/
30