blob: e62900a40bb611db52dbea265c16c5ddc98b3f79 [file] [log] [blame]
sampler a;
sampler b;
sampler c = a;
void declare() { sampler d; }
void initialize() { sampler e = a; }
void assign() { a = b; }
/*%%*
opaque type 'sampler' cannot use initializer expressions
variables of type 'sampler' must be global
variables of type 'sampler' must be global
opaque type 'sampler' cannot use initializer expressions
assignments to opaque type 'sampler' are not permitted
*%%*/