mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
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> (cherry picked from commit7e6191f605)
This commit is contained in:
parent
d43aff3a21
commit
72969b2c87
2 changed files with 2 additions and 2 deletions
|
|
@ -454,7 +454,7 @@
|
|||
"description": "zink: don't emulate edgeflags for patches",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "90a8525d703330b9d198ddf9579c560d0e5cadaa"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2194,12 +2194,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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue