if (vmesa->newState & _NEW_STENCIL)
viaChooseStencilState(ctx);
- if (!vmesa->Fallback) {
- vmesa->newEmitState |= vmesa->newState;
- vmesa->newState = 0;
- }
+ vmesa->newEmitState |= vmesa->newState;
+ vmesa->newState = 0;
if (VIA_DEBUG) fprintf(stderr, "%s - out\n", __FUNCTION__);
}
viaContextPtr vmesa = VIA_CONTEXT(ctx);
if (vmesa->newState) {
- viaChooseVertexState(ctx);
- viaChooseRenderState(ctx);
viaValidateState( ctx );
+ if (!vmesa->Fallback) {
+ viaChooseVertexState(ctx);
+ viaChooseRenderState(ctx);
+ }
}
_tnl_run_pipeline(ctx);