#284 multiple definitions allowed for variables in SL

non_fatal
open
nobody
6
2012-09-20
2008-01-21
Chris Foster
No

The fact that the following shader compiles without errors is probably a bug:

surface multiple_def()
{
color f = 1;
float f = 1;
Ci = 0;
}

The resulting VM code seems to be consistent however, and unlikely to cause a crash.

Discussion


Anonymous


Cancel   Add attachments