[Mesa-dev] [PATCH 5/6] glsl: Perform type checking on "^^" operands.

Eric Anholt eric at anholt.net
Mon Apr 11 14:43:00 PDT 2011


On Sun, 10 Apr 2011 13:07:29 +0200, Gustaw Smolarczyk <wielkiegie at gmail.com> wrote:
> 2011/4/10 Eric Anholt <eric at anholt.net>:
> > +      op[0] = get_scalar_boolean_operand(instructions, state, this, 0, "LHS",
> > +                                        &error_emitted);
> > +      op[1] = get_scalar_boolean_operand(instructions, state, this, 1, "LHS",
> > +                                        &error_emitted);
> 
> Shouldn't the second operand_name of get_scalar_boolean_operand be "RHS"?

Nice catch.  Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110411/aa9d6adb/attachment.pgp>


More information about the mesa-dev mailing list