Searched refs:cmask_buffer (Results 1 – 9 of 9) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_clear.c | 42 if (tex->cmask_buffer || !tex->surface.cmask_size || tex->buffer.b.b.nr_samples >= 2) in si_alloc_separate_cmask() 45 tex->cmask_buffer = in si_alloc_separate_cmask() 48 if (tex->cmask_buffer == NULL) in si_alloc_separate_cmask() 51 tex->cmask_base_address_reg = tex->cmask_buffer->gpu_address >> 8; in si_alloc_separate_cmask() 477 if (tex->buffer.b.b.nr_samples >= 2 && tex->cmask_buffer && eliminate_needed) in si_do_fast_color_clear() 487 if (tex->buffer.b.b.nr_samples >= 2 && tex->cmask_buffer) { in si_do_fast_color_clear() 489 si_clear_buffer(sctx, &tex->cmask_buffer->b.b, tex->surface.cmask_offset, in si_do_fast_color_clear() 512 if (!tex->cmask_buffer) in si_do_fast_color_clear() 517 si_clear_buffer(sctx, &tex->cmask_buffer->b.b, tex->surface.cmask_offset, in si_do_fast_color_clear()
|
D | si_texture.c | 89 if (dst->cmask_buffer && dst->dirty_level_mask & (1 << dst_level)) { in si_prepare_for_dma_blit() 100 if (src->cmask_buffer && src->dirty_level_mask & (1 << src_level)) in si_prepare_for_dma_blit() 355 if (!tex->cmask_buffer) in si_texture_discard_cmask() 366 if (tex->cmask_buffer != &tex->buffer) in si_texture_discard_cmask() 367 si_resource_reference(&tex->cmask_buffer, NULL); in si_texture_discard_cmask() 369 tex->cmask_buffer = NULL; in si_texture_discard_cmask() 504 if (tex->cmask_buffer == &tex->buffer) in si_reallocate_texture_inplace() 505 tex->cmask_buffer = NULL; in si_reallocate_texture_inplace() 507 si_resource_reference(&tex->cmask_buffer, NULL); in si_reallocate_texture_inplace() 509 if (new_tex->cmask_buffer == &new_tex->buffer) in si_reallocate_texture_inplace() [all …]
|
D | si_blit.c | 508 if (!tex->cmask_buffer && !tex->surface.fmask_size && in si_decompress_color_texture() 798 } else if (stex->surface.fmask_size || stex->cmask_buffer || in si_decompress_subresource() 1058 (!dst->cmask_buffer || !dst->dirty_level_mask)) { /* dst cannot be fast-cleared */ in do_hardware_msaa_resolve() 1220 if (!tex->is_depth && (tex->cmask_buffer || vi_dcc_enabled(tex, 0))) { in si_flush_resource()
|
D | si_descriptors.c | 488 (tex->dirty_level_mask && (tex->cmask_buffer || tex->surface.dcc_offset)); in color_needs_decompression() 889 if (tex->buffer.b.b.nr_samples <= 1 && tex->cmask_buffer) { in si_update_ps_colorbuf0_slot() 891 assert(tex->cmask_buffer != &tex->buffer); in si_update_ps_colorbuf0_slot()
|
D | si_pipe.h | 329 struct si_resource *cmask_buffer; member
|
D | si_state.c | 2916 if (tex->cmask_buffer && tex->cmask_buffer != &tex->buffer) { in si_emit_framebuffer_state() 2917 radeon_add_to_buffer_list(sctx, sctx->gfx_cs, tex->cmask_buffer, RADEON_USAGE_READWRITE, in si_emit_framebuffer_state()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_texture.c | 347 if (rtex->cmask_buffer != &rtex->resource) in r600_texture_discard_cmask() 348 r600_resource_reference(&rtex->cmask_buffer, NULL); in r600_texture_discard_cmask() 586 if (rtex->cmask_buffer != &rtex->resource) { in r600_texture_destroy() 587 r600_resource_reference(&rtex->cmask_buffer, NULL); in r600_texture_destroy() 718 if (rtex->cmask_buffer) in r600_texture_alloc_cmask_separate() 725 rtex->cmask_buffer = (struct r600_resource *) in r600_texture_alloc_cmask_separate() 731 if (rtex->cmask_buffer == NULL) { in r600_texture_alloc_cmask_separate() 737 rtex->cmask.base_address_reg = rtex->cmask_buffer->gpu_address >> 8; in r600_texture_alloc_cmask_separate() 962 rtex->cmask_buffer = &rtex->resource; in r600_texture_create_object() 994 r600_screen_clear_buffer(rscreen, &rtex->cmask_buffer->b.b, in r600_texture_create_object() [all …]
|
D | r600_pipe_common.h | 219 struct r600_resource *cmask_buffer; member
|
D | evergreen_state.c | 1869 if (tex->cmask_buffer && tex->cmask_buffer != &tex->resource) { in evergreen_emit_framebuffer_state() 1871 tex->cmask_buffer, RADEON_USAGE_READWRITE, in evergreen_emit_framebuffer_state()
|