Bug fix: In several string ops, I used a local var that just told whether any of the arguments were varying, to determine whether to assign to just the first element of Result, or all of them.  I should really have been checking whether Result itself was varying.  They could differ because the adjust_varying(Result) will make it varying even if none of the args are varying, if the instruction is itself inside a varying conditional. http://codereview.appspot.com/198076/show Review by: ckulla
Bug fix: In several string ops, I used a local var that just told
whether any of the arguments were varying, to determine whether to
assign to just the first element of Result, or all of them.  I should
really have been checking whether Result itself was varying.  They could
differ because the adjust_varying(Result) will make it varying even if
none of the args are varying, if the instruction is itself inside a
varying conditional.
http://codereview.appspot.com/198076/show
Review by: ckulla

code-google-com/openshadinglanguage,code-google-com/openshadinglanguage,code-google-com/openshadinglanguage,code-google-com/openshadinglanguage