• 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
11uniform mediump int  mi;
12uniform mediump int2 mi2;
13uniform mediump int3 mi3;
14uniform mediump int4 mi4;
15
16struct St { float f; };
17
18uniform St st;
19
20half4 main(float2 xy) {
21    return half4(0);
22}
23
24/*%%*
25variables of type 'short' may not be uniform
26variables of type 'short2' may not be uniform
27variables of type 'short3' may not be uniform
28variables of type 'short4' may not be uniform
29variables of type 'bool' may not be uniform
30variables of type 'bool2' may not be uniform
31variables of type 'bool3' may not be uniform
32variables of type 'bool4' may not be uniform
33variables of type 'short' may not be uniform
34variables of type 'short2' may not be uniform
35variables of type 'short3' may not be uniform
36variables of type 'short4' may not be uniform
37variables of type 'St' may not be uniform
38*%%*/
39