Home
last modified time | relevance | path

Searched refs:dummy_cmask (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state.c988 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()
Dr600_pipe.c78 r600_resource_reference(&rctx->dummy_cmask, NULL); in r600_destroy_context()
Dr600_pipe.h516 struct r600_resource *dummy_cmask; member