Searched refs:dummy_cmask (Results 1 – 3 of 3) sorted by relevance
983 if (!rctx->dummy_cmask || in r600_init_color_surface()984 rctx->dummy_cmask->b.b.width0 < cmask.size || in r600_init_color_surface()985 rctx->dummy_cmask->buf->alignment % cmask.alignment != 0) { in r600_init_color_surface()989 r600_resource_reference(&rctx->dummy_cmask, NULL); in r600_init_color_surface()990 rctx->dummy_cmask = (struct r600_resource*) in r600_init_color_surface()995 if (unlikely(!rctx->dummy_cmask)) { in r600_init_color_surface()1001 ptr = pipe_buffer_map(&rctx->b.b, &rctx->dummy_cmask->b.b, PIPE_MAP_WRITE, &transfer); in r600_init_color_surface()1005 r600_resource_reference(&surf->cb_buffer_cmask, rctx->dummy_cmask); in r600_init_color_surface()
78 r600_resource_reference(&rctx->dummy_cmask, NULL); in r600_destroy_context()
514 struct r600_resource *dummy_cmask; member