Lines Matching defs:buffers
49 unsigned buffers,
60 if (buffers & PIPE_CLEAR_COLOR) {
68 if (!(buffers & (PIPE_CLEAR_COLOR0 << i)) || !fb->cbufs[i])
78 if (buffers & PIPE_CLEAR_DEPTHSTENCIL && fb->zsbuf) {
80 if (buffers & PIPE_CLEAR_DEPTH)
82 if (buffers & PIPE_CLEAR_STENCIL)
182 unsigned buffers,
217 unsigned clear_buffers = buffers >> 2;
234 if (ctx->fb_state.zsbuf && (buffers & PIPE_CLEAR_DEPTHSTENCIL))
235 pctx->clear_depth_stencil(pctx, ctx->fb_state.zsbuf, buffers & PIPE_CLEAR_DEPTHSTENCIL, depth, stencil,
240 clear_in_rp(pctx, buffers, scissor_state, pcolor, depth, stencil);
246 if (ctx->void_clears & buffers) {
247 unsigned void_clears = ctx->void_clears & buffers;
248 ctx->void_clears &= ~buffers;
278 if (buffers & PIPE_CLEAR_COLOR) {
280 if ((buffers & (PIPE_CLEAR_COLOR0 << i)) && fb->cbufs[i]) {
301 if (buffers & PIPE_CLEAR_DEPTHSTENCIL && fb->zsbuf) {
309 if (buffers & PIPE_CLEAR_DEPTH)
311 if (buffers & PIPE_CLEAR_STENCIL)
313 clear->zs.bits |= (buffers & PIPE_CLEAR_DEPTHSTENCIL);
317 ctx->rp_clears_enabled |= (buffers & PIPE_CLEAR_DEPTHSTENCIL);
354 /* compare all the clears to determine if we can batch these buffers together */
380 /* compare all the clears to determine if we can batch these buffers together */