Home
last modified time | relevance | path

Searched refs:is_depth (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c95 if (src->nr_samples > 1 || ((struct si_texture *)src)->is_depth) { in si_copy_to_staging_texture()
113 if (dst->nr_samples > 1 || ((struct si_texture *)dst)->is_depth) { in si_copy_from_staging_texture()
179 bool is_depth, is_stencil; in si_init_surface() local
184 is_depth = util_format_has_depth(desc); in si_init_surface()
194 if (!is_flushed_depth && is_depth) { in si_init_surface()
369 return !tex->is_depth && in si_can_disable_dcc()
522 assert(!tex->is_depth); in si_reallocate_texture_inplace()
688 if (resource->nr_samples > 1 || tex->is_depth) { in si_texture_get_handle()
725 (usage & PIPE_HANDLE_USAGE_SHADER_WRITE && !tex->is_depth && tex->surface.meta_offset) || in si_texture_get_handle()
737 (tex->cmask_buffer || (!tex->is_depth && tex->surface.meta_offset))) { in si_texture_get_handle()
[all …]
Dsi_descriptors.c228 if (resource->target != PIPE_BUFFER && tex->is_depth && in si_sampler_view_add_buffer()
295 if (tex->is_depth && !si_can_sample_zs(tex, is_stencil)) { in si_set_mutable_tex_desc_fields()
358 if (!tex->is_depth && tex->surface.meta_offset) in si_set_mutable_tex_desc_fields()
376 if (tex->is_depth && tex->buffer.b.b.nr_samples >= 2) in si_set_mutable_tex_desc_fields()
408 if (!tex->is_depth && tex->surface.meta_offset) in si_set_mutable_tex_desc_fields()
490 if (tex->is_depth) in color_needs_decompression()
555 if (tex->is_depth) { in si_set_sampler_views()
774 assert(!tex->is_depth); in si_set_shader_image_desc()
976 assert(!tex->is_depth); in si_update_ps_colorbuf0_slot()
Dsi_blit.c1269 sctx->generate_mipmap_for_depth = stex->is_depth; in si_generate_mipmap()
1288 if (!tex->is_depth && (tex->cmask_buffer || vi_dcc_enabled(tex, 0))) { in si_flush_resource()
1310 assert(!tex->is_depth); in si_decompress_dcc()
Dsi_pipe.h414 bool is_depth : 1; member
1670 return !tex->is_depth && tex->surface.meta_offset && level < tex->surface.num_meta_levels; in vi_dcc_enabled()
1849 if (!tex->is_depth || !tex->surface.meta_offset) in si_htile_enabled()
Dsi_state.c687 if (tex->is_depth && in si_check_blend_dst_sampler_noop()
2500 unsigned ntype, bool is_depth) in si_choose_spi_color_formats() argument
2504 ac_choose_spi_color_formats(format, swap, ntype, is_depth, true, &formats); in si_choose_spi_color_formats()
2689 si_choose_spi_color_formats(surf, format, swap, ntype, tex->is_depth); in si_initialize_color_surface()
3361 if (!tex->is_depth && tex->surface.meta_offset) in si_emit_framebuffer_state()
4574 if (tex->is_depth && !si_can_sample_zs(tex, view->is_stencil_sampler)) { in si_create_sampler_view()
Dsi_clear.c1320 if (stex->is_depth) { in si_clear_texture()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c70 if (rsrc->is_depth || rdst->is_depth) in r600_prepare_for_dma_blit()
209 bool is_depth, is_stencil; in r600_init_surface() local
213 is_depth = util_format_has_depth(desc); in r600_init_surface()
224 if (!is_flushed_depth && is_depth) { in r600_init_surface()
436 assert(!rtex->is_depth); in r600_reallocate_texture_inplace()
491 if (resource->nr_samples > 1 || rtex->is_depth) in r600_texture_get_handle()
916 rtex->is_depth = util_format_has_depth(util_format_description(rtex->resource.b.b.format)); in r600_texture_create_object()
925 …rtex->non_disp_tiling = rtex->is_depth && rtex->surface.u.legacy.level[0].mode >= RADEON_SURF_MODE… in r600_texture_create_object()
929 if (rtex->is_depth) { in r600_texture_create_object()
1268 assert(!rtex->is_depth); in r600_texture_invalidate_storage()
[all …]
Dr600_pipe_common.h202 bool is_depth; member
Dr600_blit.c965 if (!rtex->is_depth && rtex->cmask.size) { in r600_flush_resource()
Dr600_state.c716 if (tmp->is_depth && !r600_can_sample_zs(tmp, view->is_stencil_sampler)) { in r600_create_sampler_view_custom()
Devergreen_state.c860 if (tmp->is_depth) { in evergreen_fill_tex_resource_words()
/third_party/mesa3d/src/amd/common/
Dac_shader_util.h115 bool is_depth, bool use_rbplus,
Dac_shader_util.c532 bool is_depth, bool use_rbplus, in ac_choose_spi_color_formats() argument
648 if (is_depth) in ac_choose_spi_color_formats()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_job.c284 bool is_depth, bool is_write) in vc4_submit_setup_rcl_surface() argument
296 if (is_depth) { in vc4_submit_setup_rcl_surface()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_signature.c131 bool is_depth = is_depth_output(info->kind); in get_additional_semantic_info() local
151 } else if (is_depth || in get_additional_semantic_info()
/third_party/mesa3d/docs/relnotes/
D11.1.3.rst64 \`tex->is_depth && !tex->is_flushing_texture' failed.
D11.2.0.rst297 \`tex->is_depth && !tex->is_flushing_texture' failed.
D12.0.0.rst146 \`tex->is_depth && !tex->is_flushing_texture' failed.
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c2282 bool is_depth; in util_blitter_generate_mipmap() local
2297 is_depth = desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS; in util_blitter_generate_mipmap()
2308 if (is_depth) { in util_blitter_generate_mipmap()
2364 &srcbox, is_depth, false, false, 0); in util_blitter_generate_mipmap()
/third_party/mesa3d/src/amd/vulkan/
Dradv_image.c588 bool is_depth, is_stencil; in radv_get_surface_flags() local
590 is_depth = util_format_has_depth(desc); in radv_get_surface_flags()
618 if (is_depth) { in radv_get_surface_flags()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_cmd_buffer.c2233 bool is_depth; in pvr_perform_start_of_render_attachment_clear() local
2240 is_depth = vk_format_has_depth(pass->attachments[view_idx].vk_format); in pvr_perform_start_of_render_attachment_clear()
2250 if (!((is_depth && depth_clear) || (is_stencil && stencil_clear))) in pvr_perform_start_of_render_attachment_clear()