Lines Matching refs:cmask
77 if (rdst->cmask.size && rdst->dirty_level_mask & (1 << dst_level)) { in r600_prepare_for_dma_blit()
89 if (rsrc->cmask.size && rsrc->dirty_level_mask & (1 << src_level)) in r600_prepare_for_dma_blit()
336 if (!rtex->cmask.size) in r600_texture_discard_cmask()
342 memset(&rtex->cmask, 0, sizeof(rtex->cmask)); in r600_texture_discard_cmask()
343 rtex->cmask.base_address_reg = rtex->resource.gpu_address >> 8; in r600_texture_discard_cmask()
424 rtex->cmask = new_tex->cmask; in r600_reallocate_texture_inplace()
435 assert(!rtex->cmask.size); in r600_reallocate_texture_inplace()
482 rtex->cmask.size) { in r600_texture_get_handle()
489 if (rtex->cmask.size) in r600_texture_get_handle()
686 r600_texture_get_cmask_info(rscreen, rtex, &rtex->cmask); in r600_texture_allocate_cmask()
688 rtex->cmask.offset = align64(rtex->size, rtex->cmask.alignment); in r600_texture_allocate_cmask()
689 rtex->size = rtex->cmask.offset + rtex->cmask.size; in r600_texture_allocate_cmask()
700 assert(rtex->cmask.size == 0); in r600_texture_alloc_cmask_separate()
702 r600_texture_get_cmask_info(rscreen, rtex, &rtex->cmask); in r600_texture_alloc_cmask_separate()
708 rtex->cmask.size, in r600_texture_alloc_cmask_separate()
709 rtex->cmask.alignment); in r600_texture_alloc_cmask_separate()
711 rtex->cmask.size = 0; in r600_texture_alloc_cmask_separate()
716 rtex->cmask.base_address_reg = rtex->cmask_buffer->gpu_address >> 8; in r600_texture_alloc_cmask_separate()
834 if (rtex->cmask.size) in r600_print_texture_info()
837 rtex->cmask.offset, rtex->cmask.size, rtex->cmask.alignment, in r600_print_texture_info()
838 rtex->cmask.slice_tile_max); in r600_print_texture_info()
944 if (!rtex->fmask.size || !rtex->cmask.size) { in r600_texture_create_object()
976 if (rtex->cmask.size) { in r600_texture_create_object()
979 rtex->cmask.offset, rtex->cmask.size, in r600_texture_create_object()
992 rtex->cmask.base_address_reg = in r600_texture_create_object()
993 (rtex->resource.gpu_address + rtex->cmask.offset) >> 8; in r600_texture_create_object()
1269 rtex->cmask.base_address_reg = in r600_texture_invalidate_storage()
1270 (rtex->resource.gpu_address + rtex->cmask.offset) >> 8; in r600_texture_invalidate_storage()
1809 if (tex->cmask.size == 0) { in evergreen_do_fast_color_clear()
1815 tex->cmask.offset, tex->cmask.size, 0, in evergreen_do_fast_color_clear()