virgl: Set GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION to 1

The resulting quads are actually already following the provoking vertex convention.

Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12851>
This commit is contained in:
Corentin Noël 2021-09-14 14:38:42 +02:00 committed by Marge Bot
parent 77d2bdb0a2
commit d89ba3f2a9
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ virgl_get_param(struct pipe_screen *screen, enum pipe_cap param)
case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
return MIN2(vscreen->caps.caps.v1.glsl_level, 140);
case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION:
return 1;
case PIPE_CAP_DEPTH_CLIP_DISABLE_SEPARATE:
return 0;
case PIPE_CAP_COMPUTE: