draw/cull: run pipeline for culled points.

This just appears to be missing:
Fixes:
KHR-GL45.cull_distance.functional

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4560>
This commit is contained in:
Dave Airlie 2020-04-10 09:19:10 +10:00
parent dc261cdd42
commit 30ef6f5137

View file

@ -100,6 +100,9 @@ draw_need_pipeline(const struct draw_context *draw,
/* point sprites */
if (rasterizer->sprite_coord_enable && draw->pipeline.point_sprite)
return TRUE;
if (draw_current_shader_num_written_culldistances(draw))
return TRUE;
}
else if (reduced_prim == PIPE_PRIM_TRIANGLES) {
/* polygon stipple */