Searched refs:dummy_cmask (Results 1 – 3 of 3) sorted by relevance
988 if (!rctx->dummy_cmask || in r600_init_color_surface()989 rctx->dummy_cmask->b.b.width0 < cmask.size || in r600_init_color_surface()990 (1 << rctx->dummy_cmask->buf->alignment_log2) % cmask.alignment != 0) { in r600_init_color_surface()994 r600_resource_reference(&rctx->dummy_cmask, NULL); in r600_init_color_surface()995 rctx->dummy_cmask = (struct r600_resource*) in r600_init_color_surface()1000 if (unlikely(!rctx->dummy_cmask)) { in r600_init_color_surface()1006 ptr = pipe_buffer_map(&rctx->b.b, &rctx->dummy_cmask->b.b, PIPE_MAP_WRITE, &transfer); in r600_init_color_surface()1010 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()
516 struct r600_resource *dummy_cmask; member