On Sun, Feb 8, 2015 at 11:37 AM, Ilia Mirkin <[email protected]> wrote: > On Sun, Feb 8, 2015 at 2:29 PM, Matt Turner <[email protected]> wrote: >>> + case ir_unop_d2b: >>> + assert(op[0]->type->base_type == GLSL_TYPE_DOUBLE); >>> + for (unsigned c = 0; c < op[0]->type->components(); c++) { >>> + data.b[c] = op[0]->value.d[c] != 0.0 ? true : false; >> >> ? true : false is a nop. > > Keeping the style... that's how f2b was written. No idea why. Should I > just nuke it?
I think so, yeah. _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
