Lines Matching refs:cmask
85 if (rdst->cmask.size && rdst->dirty_level_mask & (1 << dst_level)) { in si_prepare_for_dma_blit()
97 if (rsrc->cmask.size && rsrc->dirty_level_mask & (1 << src_level)) in si_prepare_for_dma_blit()
404 if (!rtex->cmask.size) in r600_texture_discard_cmask()
410 memset(&rtex->cmask, 0, sizeof(rtex->cmask)); in r600_texture_discard_cmask()
411 rtex->cmask.base_address_reg = rtex->resource.gpu_address >> 8; in r600_texture_discard_cmask()
555 rtex->cmask = new_tex->cmask; in r600_reallocate_texture_inplace()
567 assert(!rtex->cmask.size); in r600_reallocate_texture_inplace()
726 (rtex->cmask.size || rtex->dcc_offset)) { in r600_texture_get_handle()
735 if (rtex->cmask.size) in r600_texture_get_handle()
955 si_texture_get_cmask_info(sscreen, rtex, &rtex->cmask); in r600_texture_allocate_cmask()
957 rtex->cmask.offset = align64(rtex->size, rtex->cmask.alignment); in r600_texture_allocate_cmask()
958 rtex->size = rtex->cmask.offset + rtex->cmask.size; in r600_texture_allocate_cmask()
1080 if (rtex->cmask.size) { in si_print_texture_info()
1083 rtex->cmask.offset, in si_print_texture_info()
1086 rtex->surface.u.gfx9.cmask.rb_aligned, in si_print_texture_info()
1087 rtex->surface.u.gfx9.cmask.pipe_aligned); in si_print_texture_info()
1132 if (rtex->cmask.size) in si_print_texture_info()
1135 rtex->cmask.offset, rtex->cmask.size, rtex->cmask.alignment, in si_print_texture_info()
1136 rtex->cmask.slice_tile_max); in si_print_texture_info()
1272 if (!rtex->fmask.size || !rtex->cmask.size) { in r600_texture_create_object()
1312 if (rtex->cmask.size) { in r600_texture_create_object()
1315 rtex->cmask.offset, rtex->cmask.size, in r600_texture_create_object()
1339 rtex->cmask.base_address_reg = in r600_texture_create_object()
1340 (rtex->resource.gpu_address + rtex->cmask.offset) >> 8; in r600_texture_create_object()
1629 rtex->cmask.base_address_reg = in r600_texture_invalidate_storage()
1630 (rtex->resource.gpu_address + rtex->cmask.offset) >> 8; in r600_texture_invalidate_storage()