Home | History | Annotate | Download | only in r600

Lines Matching defs:cmask

1411 		} else { /* cmask only */
1415 /* Allocate dummy FMASK and CMASK if they aren't allocated already.
1417 * R6xx needs FMASK and CMASK for the destination buffer of color resolve,
1418 * otherwise it hangs. We don't have FMASK and CMASK pre-allocated,
1421 struct r600_cmask_info cmask;
1424 r600_texture_get_cmask_info(rscreen, rtex, &cmask);
1427 /* CMASK. */
1429 rctx->dummy_cmask->buf->size < cmask.size ||
1430 rctx->dummy_cmask->buf->alignment % cmask.alignment != 0) {
1435 rctx->dummy_cmask = r600_buffer_create_helper(rscreen, cmask.size, cmask.alignment);
1439 memset(ptr, 0xCC, cmask.size);
1460 surf->cb_color_mask = S_028100_CMASK_BLOCK_MAX(cmask.slice_tile_max) |
1592 /* The resolve buffer must have CMASK and FMASK to prevent hardlocks on R6xx. */