Searched refs:dummy_cmask (Results 1 – 3 of 3) sorted by relevance
1428 if (!rctx->dummy_cmask || in r600_init_color_surface()1429 rctx->dummy_cmask->buf->size < cmask.size || in r600_init_color_surface()1430 rctx->dummy_cmask->buf->alignment % cmask.alignment != 0) { in r600_init_color_surface()1434 pipe_resource_reference((struct pipe_resource**)&rctx->dummy_cmask, NULL); in r600_init_color_surface()1435 rctx->dummy_cmask = r600_buffer_create_helper(rscreen, cmask.size, cmask.alignment); in r600_init_color_surface()1438 ptr = pipe_buffer_map(&rctx->context, &rctx->dummy_cmask->b.b, PIPE_TRANSFER_WRITE, &transfer); in r600_init_color_surface()1443 &rctx->dummy_cmask->b.b); in r600_init_color_surface()
159 pipe_resource_reference((struct pipe_resource**)&rctx->dummy_cmask, NULL); in r600_destroy_context()
464 struct r600_resource *dummy_cmask; member