mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 07:58:07 +02:00
don't skip user clip plane clipping when the current vertex program is position invariant.
This commit is contained in:
parent
7e9799ac3d
commit
8a0fb128c3
1 changed files with 2 additions and 1 deletions
|
|
@ -1182,7 +1182,8 @@ do_ndc_cliptest(GLcontext *ctx, struct arb_vp_machine *m)
|
|||
|
||||
/* Test userclip planes. This contributes to VB->ClipMask.
|
||||
*/
|
||||
if (ctx->Transform.ClipPlanesEnabled && !ctx->VertexProgram._Enabled) {
|
||||
if (ctx->Transform.ClipPlanesEnabled && (!ctx->VertexProgram._Enabled ||
|
||||
ctx->VertexProgram.Current->IsPositionInvariant)) {
|
||||
userclip( ctx,
|
||||
VB->ClipPtr,
|
||||
m->clipmask,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue