imesa->regs.s4.drawCtrl1.ni.alphaTestEn;
/*imesa->regs.s4.drawLocalCtrl.ni.zUpdateEn =
~drawLocalCtrl.ni.wrZafterAlphaTst;*/
+
+ imesa->dirty |= SAVAGE_UPLOAD_CTX;
}
static void savageBlendFunc_s3d(GLcontext *ctx)
{
imesa->regs.s3d.zBufCtrl.ni.wrZafterAlphaTst =
imesa->regs.s3d.drawCtrl.ni.alphaTestEn;
+
+ imesa->dirty |= SAVAGE_UPLOAD_CTX;
}
static void savageDDBlendFuncSeparate_s4( GLcontext *ctx, GLenum sfactorRGB,
break;
case GL_CULL_FACE:
#if HW_CULL
- imesa->dirty |= SAVAGE_UPLOAD_CTX;
if (state)
{
savageDDCullFaceFrontFace(ctx,0);
}
else
{
- imesa->regs.s4.drawCtrl1.ni.cullMode=BCM_None;
+ imesa->LcsCullMode = BCM_None;
}
#endif
break;
break;
case GL_CULL_FACE:
#if HW_CULL
- imesa->dirty |= SAVAGE_UPLOAD_CTX;
if (state)
{
savageDDCullFaceFrontFace(ctx,0);
}
else
{
- imesa->regs.s3d.drawCtrl.ni.cullMode=BCM_None;
+ imesa->LcsCullMode = BCM_None;
}
#endif
break;