gallium: split depth_clip into depth_clip_near & depth_clip_far
[mesa.git] / src / gallium / drivers / freedreno / a3xx / fd3_rasterizer.c
index 260eacd301a2558415329ab162df1521343ca5d2..6efff82e336bd3f03d237f0ac3e404baf3890e93 100644 (file)
@@ -98,7 +98,7 @@ fd3_rasterizer_state_create(struct pipe_context *pctx,
 
        if (cso->offset_tri)
                so->gras_su_mode_control |= A3XX_GRAS_SU_MODE_CONTROL_POLY_OFFSET;
-       if (!cso->depth_clip)
+       if (!cso->depth_clip_near)
                so->gras_cl_clip_cntl |= A3XX_GRAS_CL_CLIP_CNTL_CLIP_DISABLE;
 
        return so;