Lines Matching refs:sp
35 insert_stage_at_head(struct softpipe_context *sp, struct quad_stage *quad)
37 quad->next = sp->quad.first;
38 sp->quad.first = quad;
43 sp_build_quad_pipeline(struct softpipe_context *sp)
46 sp->depth_stencil->depth.enabled &&
47 sp->framebuffer.zsbuf &&
48 !sp->depth_stencil->alpha.enabled &&
49 !sp->fs_variant->info.uses_kill &&
50 !sp->fs_variant->info.writes_z &&
51 !sp->fs_variant->info.writes_stencil;
53 sp->quad.first = sp->quad.blend;
56 insert_stage_at_head( sp, sp->quad.shade );
57 insert_stage_at_head( sp, sp->quad.depth_test );
60 insert_stage_at_head( sp, sp->quad.depth_test );
61 insert_stage_at_head( sp, sp->quad.shade );
65 if (sp->rasterizer->poly_stipple_enable)
66 insert_stage_at_head( sp, sp->quad.pstipple );