diff options
-rw-r--r-- | .pick_status.json | 2 | ||||
-rw-r--r-- | src/mesa/main/shaderapi.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.pick_status.json b/.pick_status.json index 3f176a18ba9..12c3930eaff 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -418,7 +418,7 @@ "description": "mesa: fix immediate mode with tessellation and varying patch vertices", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": null }, diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 8bca17a9352..d2f59778463 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -2658,6 +2658,7 @@ void GLAPIENTRY _mesa_PatchParameteri_no_error(GLenum pname, GLint value) { GET_CURRENT_CONTEXT(ctx); + FLUSH_VERTICES(ctx, 0); ctx->TessCtrlProgram.patch_vertices = value; } @@ -2682,6 +2683,7 @@ _mesa_PatchParameteri(GLenum pname, GLint value) return; } + FLUSH_VERTICES(ctx, 0); ctx->TessCtrlProgram.patch_vertices = value; } |