don't skip user clip plane clipping when the current vertex program is position invariant.
This commit is contained in:
@@ -1182,7 +1182,8 @@ do_ndc_cliptest(GLcontext *ctx, struct arb_vp_machine *m)
|
|||||||
|
|
||||||
/* Test userclip planes. This contributes to VB->ClipMask.
|
/* 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,
|
userclip( ctx,
|
||||||
VB->ClipPtr,
|
VB->ClipPtr,
|
||||||
m->clipmask,
|
m->clipmask,
|
||||||
|
Reference in New Issue
Block a user