On Fri, Mar 28, 2014 at 6:28 AM, Juha-Pekka Heikkila
<juhapekka.heikk...@gmail.com> wrote:
> +      if (inst->writes_accumulator||inst->writes_flag())

Spaces around ||

>           inst->dst = dst_reg(retype(brw_null_reg(), inst->dst.type));
> -         break;
> -      default:
> -         if (inst->writes_flag()) {
> -            inst->dst = dst_reg(retype(brw_null_reg(), inst->dst.type));
> -         } else {
> -            inst->remove();
> -         }
> -      }
> +      else
> +         inst->remove();

And let's use braces on nested if statements.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to