Open GoogleCodeExporter opened 9 years ago
Another example of a potentially tricky shader:
shader (output float my_output = 0) {
if (u > 0.4 && u < 0.6) {
my_output = 1;
}
}
This example suggests that we should issue "useparam" for every output
parameter at
the very start of a shader.
Original comment by cku...@gmail.com
on 5 Feb 2010 at 11:46
Original issue reported on code.google.com by
cku...@gmail.com
on 5 Feb 2010 at 11:18