Searched refs:cmask_buffer (Results 1 – 10 of 10) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_texture.c | 345 if (!tex->cmask_buffer) in si_texture_discard_cmask() 356 if (tex->cmask_buffer != &tex->buffer) in si_texture_discard_cmask() 357 si_resource_reference(&tex->cmask_buffer, NULL); in si_texture_discard_cmask() 359 tex->cmask_buffer = NULL; in si_texture_discard_cmask() 488 if (tex->cmask_buffer == &tex->buffer) in si_reallocate_texture_inplace() 489 tex->cmask_buffer = NULL; in si_reallocate_texture_inplace() 491 si_resource_reference(&tex->cmask_buffer, NULL); in si_reallocate_texture_inplace() 493 if (new_tex->cmask_buffer == &new_tex->buffer) in si_reallocate_texture_inplace() 494 tex->cmask_buffer = &tex->buffer; in si_reallocate_texture_inplace() 496 si_resource_reference(&tex->cmask_buffer, new_tex->cmask_buffer); in si_reallocate_texture_inplace() [all …]
|
D | si_clear.c | 114 if (tex->cmask_buffer) in si_alloc_separate_cmask() 120 tex->cmask_buffer = in si_alloc_separate_cmask() 123 if (tex->cmask_buffer == NULL) in si_alloc_separate_cmask() 126 tex->cmask_base_address_reg = tex->cmask_buffer->gpu_address >> 8; in si_alloc_separate_cmask() 781 if (tex->buffer.b.b.nr_samples >= 2 && tex->cmask_buffer) { in si_fast_clear() 784 si_init_buffer_clear(&info[num_clears++], &tex->cmask_buffer->b.b, in si_fast_clear() 870 si_init_buffer_clear(&info[num_clears++], &tex->cmask_buffer->b.b, in si_fast_clear()
|
D | si_blit.c | 557 if (!tex->cmask_buffer && !tex->surface.fmask_size && in si_decompress_color_texture() 867 } else if (stex->surface.fmask_size || stex->cmask_buffer || in si_decompress_subresource() 1076 (!dst->cmask_buffer || !dst->dirty_level_mask)) { /* dst cannot be fast-cleared */ in si_msaa_resolve_blit_via_CB() 1288 if (!tex->is_depth && (tex->cmask_buffer || vi_dcc_enabled(tex, 0))) { in si_flush_resource()
|
D | si_buffer.c | 236 if (tex->cmask_buffer != &tex->buffer) { in si_resource_destroy() 237 si_resource_reference(&tex->cmask_buffer, NULL); in si_resource_destroy()
|
D | si_descriptors.c | 494 (tex->dirty_level_mask && (tex->cmask_buffer || tex->surface.meta_offset)); in color_needs_decompression() 983 if (tex->buffer.b.b.nr_samples <= 1 && tex->cmask_buffer) { in si_update_ps_colorbuf0_slot() 985 assert(tex->cmask_buffer != &tex->buffer); in si_update_ps_colorbuf0_slot()
|
D | si_pipe.h | 390 struct si_resource *cmask_buffer; member
|
D | si_state.c | 3233 if (tex->cmask_buffer && tex->cmask_buffer != &tex->buffer) { in si_emit_framebuffer_state() 3234 radeon_add_to_buffer_list(sctx, &sctx->gfx_cs, tex->cmask_buffer, in si_emit_framebuffer_state()
|
/third_party/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() 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() 954 rtex->cmask_buffer = &rtex->resource; in r600_texture_create_object() 986 r600_screen_clear_buffer(rscreen, &rtex->cmask_buffer->b.b, in r600_texture_create_object() [all …]
|
D | r600_pipe_common.h | 214 struct r600_resource *cmask_buffer; member
|
D | evergreen_state.c | 1870 if (tex->cmask_buffer && tex->cmask_buffer != &tex->resource) { in evergreen_emit_framebuffer_state() 1872 tex->cmask_buffer, RADEON_USAGE_READWRITE | RADEON_PRIO_SEPARATE_META); in evergreen_emit_framebuffer_state()
|