[Mesa-dev] [PATCH] llvmpipe: Honour pipe_rasterizer::point_quad_rasterization.
Jose Fonseca
jfonseca at vmware.com
Wed Jan 8 10:01:55 PST 2014
----- Original Message -----
> On Wed, Jan 8, 2014 at 6:27 PM, <jfonseca at vmware.com> wrote:
> > }
> > -
> > +
> > + if (0) {
> > + debug_printf(" bbox: (%i, %i) - (%i, %i)\n",
> > + bbox.x0, bbox.y0,
> > + bbox.x1, bbox.y1);
> > + }
> > +
> > if (!u_rect_test_intersection(&setup->draw_regions[viewport_index],
> > &bbox)) {
> > if (0) debug_printf("offscreen\n");
> > LP_COUNT(nr_culled_tris);
>
> This part should probably be dropped, no?
>
It was left there on purpose, as it's useful for debugging and no harm for release. Similar if (0) { ... } blocks are in this and many other source files.
Jose
More information about the mesa-dev
mailing list