draw: specialized cliptesting routines
[mesa.git] / src / gallium / auxiliary / draw / draw_pipe_validate.c
index eafa29276ffcd9bad39725a49e19a8a159db2684..8b92543987675efbde9f5dfc9bf4e5800d66d8b7 100644 (file)
@@ -265,7 +265,7 @@ static struct draw_stage *validate_pipeline( struct draw_stage *stage )
 
    /* Clip stage
     */
-   if (!draw->bypass_clipping)
+   if (draw->clip_xy || draw->clip_z || draw->clip_user)
    {
       draw->pipeline.clip->next = next;
       next = draw->pipeline.clip;