Skip to content

zink: handle max_vertices=0 in geometry shader

Mike Blumenkrantz requested to merge zmike/mesa:zink-fixups into main

this is a weird corner case where glsl permits a zero value, so clamp to 1 and then don't emit any vertices to avoid driver hangs

affects: dEQP-GL45-ES31.functional.geometry_shading.emit.points_emit_0_end_0

cc: mesa-stable

Merge request reports