static void alpha_test_begin(struct quad_stage *qs)
{
- if (qs->next->begin)
+ if (qs->next)
qs->next->begin(qs->next);
}
static void blend_begin(struct quad_stage *qs)
{
- if (qs->next->begin)
+ if (qs->next)
qs->next->begin(qs->next);
}
static void cbuf_loop_begin(struct quad_stage *qs)
{
- if (qs->next->begin)
+ if (qs->next)
qs->next->begin(qs->next);
}
static void colormask_begin(struct quad_stage *qs)
{
- if (qs->next->begin)
+ if (qs->next)
qs->next->begin(qs->next);
}
static void coverage_begin(struct quad_stage *qs)
{
- if (qs->next->begin)
+ if (qs->next)
qs->next->begin(qs->next);
}
static void depth_test_begin(struct quad_stage *qs)
{
- if (qs->next->begin)
+ if (qs->next)
qs->next->begin(qs->next);
}
qss->samplers[i].get_sample = sp_get_sample;
qss->samplers[i].pipe = &softpipe->pipe;
/* init cache info here */
+ qss->samplers[i].cache_x =
+ qss->samplers[i].cache_y = -1;
}
- if (qs->next->begin)
+ if (qs->next)
qs->next->begin(qs->next);
}
static void occlusion_begin(struct quad_stage *qs)
{
- if (qs->next->begin)
+ if (qs->next)
qs->next->begin(qs->next);
}
static void output_begin(struct quad_stage *qs)
{
- if (qs->next->begin)
+ if (qs->next)
qs->next->begin(qs->next);
}
static void stencil_begin(struct quad_stage *qs)
{
- if (qs->next->begin)
+ if (qs->next)
qs->next->begin(qs->next);
}
static void stipple_begin(struct quad_stage *qs)
{
- if (qs->next->begin)
+ if (qs->next)
qs->next->begin(qs->next);
}