mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 11:10:10 +01:00
mesa: fix immediate mode with tessellation and varying patch vertices
Cc: 19.3 20.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3861>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3861>
(cherry picked from commit 2e05a280b6)
This commit is contained in:
parent
6d93c67532
commit
735a90abe5
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue