On 7 July 2011 06:20, Vadim Girlin <vadimgir...@gmail.com> wrote:
> +static inline void r600_bc_src_toggle_neg(struct r600_bc_alu_src *bc_src)
> +{
> +       bc_src->neg = 1 - bc_src->neg;
> +}
> +
Not necessarily wrong, but I think "bc_src->neg = !bc_src->neg;" would
be the more common way to write this.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to