Home
last modified time | relevance | path

Searched refs:cmask_buffer (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c321 if (!tex->cmask_buffer) in si_texture_discard_cmask()
332 if (tex->cmask_buffer != &tex->buffer) in si_texture_discard_cmask()
333 si_resource_reference(&tex->cmask_buffer, NULL); in si_texture_discard_cmask()
335 tex->cmask_buffer = NULL; in si_texture_discard_cmask()
470 if (tex->cmask_buffer == &tex->buffer) in si_reallocate_texture_inplace()
471 tex->cmask_buffer = NULL; in si_reallocate_texture_inplace()
473 si_resource_reference(&tex->cmask_buffer, NULL); in si_reallocate_texture_inplace()
475 if (new_tex->cmask_buffer == &new_tex->buffer) in si_reallocate_texture_inplace()
476 tex->cmask_buffer = &tex->buffer; in si_reallocate_texture_inplace()
478 si_resource_reference(&tex->cmask_buffer, new_tex->cmask_buffer); in si_reallocate_texture_inplace()
[all …]
Dsi_clear.c112 if (tex->cmask_buffer) in si_alloc_separate_cmask()
118 tex->cmask_buffer = in si_alloc_separate_cmask()
121 if (tex->cmask_buffer == NULL) in si_alloc_separate_cmask()
124 tex->cmask_base_address_reg = tex->cmask_buffer->gpu_address >> 8; in si_alloc_separate_cmask()
651 if (tex->buffer.b.b.nr_samples >= 2 && tex->cmask_buffer) { in si_fast_clear()
653 si_init_buffer_clear(&info[num_clears++], &tex->cmask_buffer->b.b, in si_fast_clear()
735 si_init_buffer_clear(&info[num_clears++], &tex->cmask_buffer->b.b, in si_fast_clear()
Dsi_blit.c543 if (!tex->cmask_buffer && !tex->surface.fmask_size && in si_decompress_color_texture()
852 } else if (stex->surface.fmask_size || stex->cmask_buffer || in si_decompress_subresource()
1135 (!dst->cmask_buffer || !dst->dirty_level_mask)) { /* dst cannot be fast-cleared */ in do_hardware_msaa_resolve()
1338 if (!tex->is_depth && (tex->cmask_buffer || vi_dcc_enabled(tex, 0))) { in si_flush_resource()
Dsi_buffer.c233 if (tex->cmask_buffer != &tex->buffer) { in si_resource_destroy()
234 si_resource_reference(&tex->cmask_buffer, NULL); in si_resource_destroy()
Dsi_descriptors.c490 (tex->dirty_level_mask && (tex->cmask_buffer || tex->surface.meta_offset)); in color_needs_decompression()
946 if (tex->buffer.b.b.nr_samples <= 1 && tex->cmask_buffer) { in si_update_ps_colorbuf0_slot()
948 assert(tex->cmask_buffer != &tex->buffer); in si_update_ps_colorbuf0_slot()
Dsi_pipe.h349 struct si_resource *cmask_buffer; member
Dsi_state.c3069 if (tex->cmask_buffer && tex->cmask_buffer != &tex->buffer) { in si_emit_framebuffer_state()
3070 radeon_add_to_buffer_list(sctx, &sctx->gfx_cs, tex->cmask_buffer, in si_emit_framebuffer_state()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c347 if (rtex->cmask_buffer != &rtex->resource) in r600_texture_discard_cmask()
348 r600_resource_reference(&rtex->cmask_buffer, NULL); in r600_texture_discard_cmask()
585 if (rtex->cmask_buffer != &rtex->resource) { in r600_texture_destroy()
586 r600_resource_reference(&rtex->cmask_buffer, NULL); in r600_texture_destroy()
715 if (rtex->cmask_buffer) in r600_texture_alloc_cmask_separate()
722 rtex->cmask_buffer = (struct r600_resource *) in r600_texture_alloc_cmask_separate()
728 if (rtex->cmask_buffer == NULL) { in r600_texture_alloc_cmask_separate()
734 rtex->cmask.base_address_reg = rtex->cmask_buffer->gpu_address >> 8; in r600_texture_alloc_cmask_separate()
958 rtex->cmask_buffer = &rtex->resource; in r600_texture_create_object()
990 r600_screen_clear_buffer(rscreen, &rtex->cmask_buffer->b.b, in r600_texture_create_object()
[all …]
Dr600_pipe_common.h221 struct r600_resource *cmask_buffer; member
Devergreen_state.c1874 if (tex->cmask_buffer && tex->cmask_buffer != &tex->resource) { in evergreen_emit_framebuffer_state()
1876 tex->cmask_buffer, RADEON_USAGE_READWRITE, in evergreen_emit_framebuffer_state()