Lines Matching defs:ctx
59 static void crStateStencilBufferRefBitsInit(CRContext *ctx, CRStencilBufferRefBits *sb)
61 RESET(sb->func, ctx->bitid);
62 RESET(sb->op, ctx->bitid);
65 void crStateStencilInit(CRContext *ctx)
67 CRStencilState *s = &ctx->stencil;
73 RESET(sb->enable, ctx->bitid);
76 RESET(sb->enableTwoSideEXT, ctx->bitid);
79 RESET(sb->activeStencilFace, ctx->bitid);
82 RESET(sb->clearValue, ctx->bitid);
85 RESET(sb->writeMask, ctx->bitid);
87 RESET(sb->dirty, ctx->bitid);
96 crStateStencilBufferRefBitsInit(ctx, &sb->bufferRefs[i]);