On Fri, Mar 28, 2014 at 6:28 AM, Juha-Pekka Heikkila
<[email protected]> 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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev