mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 22:10:11 +01:00
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:
parent
dc261cdd42
commit
30ef6f5137
1 changed files with 3 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue