static void alpha_test_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}
static void blend_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}
static void cbuf_loop_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}
static void colormask_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}
static void coverage_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}
static void depth_test_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}
quad->outputs.depth[2] = z0 + dzdy;
quad->outputs.depth[3] = z0 + dzdx + dzdy;
- if (qs->next) {
- qs->next->run( qs->next, quad );
- }
+ qs->next->run( qs->next, quad );
}
static void
earlyz_begin(
struct quad_stage *qs )
{
- if (qs->next) {
- qs->next->begin( qs->next );
- }
+ qs->next->begin( qs->next );
}
static void
}
}
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}
occ->count += (quad->mask >> 2) & 1;
occ->count += (quad->mask >> 3) & 1;
- if (quad->mask)
- qs->next->run(qs->next, quad);
+ qs->next->run(qs->next, quad);
}
static void occlusion_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}
static void output_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ assert(qs->next == NULL);
}
static void stencil_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}
static void stipple_begin(struct quad_stage *qs)
{
- if (qs->next)
- qs->next->begin(qs->next);
+ qs->next->begin(qs->next);
}