zink: don't emulate edgeflags for patches

Patches are used for tessellation, edgeflags don't work with
tessellation.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fixes: 90a8525d70 ("zink: handle edgeflags")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22498>
This commit is contained in:
antonino
2023-04-14 12:03:06 +02:00
committed by Marge Bot
parent 3ad751f043
commit 7e6191f605
+1 -1
View File
@@ -2208,12 +2208,12 @@ has_edge_flags(struct zink_context *ctx)
case PIPE_PRIM_TRIANGLE_FAN:
case PIPE_PRIM_TRIANGLE_STRIP_ADJACENCY:
case PIPE_PRIM_QUAD_STRIP:
case PIPE_PRIM_PATCHES:
return false;
case PIPE_PRIM_TRIANGLES:
case PIPE_PRIM_TRIANGLES_ADJACENCY:
case PIPE_PRIM_QUADS:
case PIPE_PRIM_POLYGON:
case PIPE_PRIM_PATCHES:
case PIPE_PRIM_MAX:
default:
break;