Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/util/
Du_blit.c382 boolean is_stencil, is_depth, blit_depth, blit_stencil; in util_blit_pixels() local
403 is_depth = util_format_has_depth(src_desc); in util_blit_pixels()
406 blit_depth = is_depth && (writemask & PIPE_MASK_Z); in util_blit_pixels()
409 if (is_depth || is_stencil) { in util_blit_pixels()
433 is_depth == blit_depth && in util_blit_pixels()
Du_blitter.c2020 bool is_depth; in util_blitter_generate_mipmap() local
2034 is_depth = desc->colorspace == UTIL_FORMAT_COLORSPACE_ZS; in util_blitter_generate_mipmap()
2045 if (is_depth) { in util_blitter_generate_mipmap()
2101 &srcbox, is_depth, false); in util_blitter_generate_mipmap()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c69 if (rsrc->is_depth || rdst->is_depth) in r600_prepare_for_dma_blit()
208 bool is_depth, is_stencil; in r600_init_surface() local
212 is_depth = util_format_has_depth(desc); in r600_init_surface()
223 if (!is_flushed_depth && is_depth) { in r600_init_surface()
437 assert(!rtex->is_depth); in r600_reallocate_texture_inplace()
466 if (resource->nr_samples > 1 || rtex->is_depth) in r600_texture_get_handle()
904 rtex->is_depth = util_format_has_depth(util_format_description(rtex->resource.b.b.format)); in r600_texture_create_object()
913 …rtex->non_disp_tiling = rtex->is_depth && rtex->surface.u.legacy.level[0].mode >= RADEON_SURF_MODE… in r600_texture_create_object()
917 if (rtex->is_depth) { in r600_texture_create_object()
1262 assert(!rtex->is_depth); in r600_texture_invalidate_storage()
[all …]
Dr600_pipe_common.h213 bool is_depth; member
Dr600_blit.c970 if (!rtex->is_depth && rtex->cmask.size) { in r600_flush_resource()
Dr600_state.c712 if (tmp->is_depth && !r600_can_sample_zs(tmp, view->is_stencil_sampler)) { in r600_create_sampler_view_custom()
Devergreen_state.c843 if (tmp->is_depth) { in evergreen_fill_tex_resource_words()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_texture.c69 if (rsrc->is_depth || rdst->is_depth) in si_prepare_for_dma_blit()
233 bool is_depth, is_stencil; in r600_init_surface() local
237 is_depth = util_format_has_depth(desc); in r600_init_surface()
248 if (!is_flushed_depth && is_depth) { in r600_init_surface()
570 assert(!rtex->is_depth); in r600_reallocate_texture_inplace()
695 if (resource->nr_samples > 1 || rtex->is_depth) in r600_texture_get_handle()
1215 rtex->is_depth = util_format_has_depth(util_format_description(rtex->resource.b.b.format)); in r600_texture_create_object()
1249 if (rtex->is_depth) { in r600_texture_create_object()
1622 assert(!rtex->is_depth); in r600_texture_invalidate_storage()
1656 if (!rtex->is_depth) { in r600_texture_transfer_map()
[all …]
Dr600_pipe_common.h237 bool is_depth:1; member
/external/virglrenderer/src/
Dvrend_formats.c303 bool is_depth = false; in vrend_add_formats() local
350 is_depth = true; in vrend_add_formats()
364 binding |= (is_depth ? VIRGL_BIND_DEPTH_STENCIL : VIRGL_BIND_RENDER_TARGET); in vrend_add_formats()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_texture.c140 bool is_depth = util_format_has_depth(util_format_description(resource->format)); in virgl_texture_transfer_map() local
168 if (is_depth && resource->nr_samples > 1) { in virgl_texture_transfer_map()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_job.c285 bool is_depth, bool is_write) in vc4_submit_setup_rcl_surface() argument
297 if (is_depth) { in vc4_submit_setup_rcl_surface()
/external/vulkan-validation-layers/layers/
Dvk_format_utils.cpp519 bool is_depth = false; in FormatIsDepthOnly() local
525 is_depth = true; in FormatIsDepthOnly()
531 return is_depth; in FormatIsDepthOnly()
/external/mesa3d/src/amd/vulkan/
Dradv_image.c75 bool is_depth, is_stencil, blendable; in radv_init_surface() local
77 is_depth = vk_format_has_depth(desc); in radv_init_surface()
110 if (is_depth) { in radv_init_surface()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c251 if (tex->is_depth && !si_can_sample_zs(tex, is_stencil_sampler)) in si_sampler_view_add_buffer()
320 if (tex->is_depth && !si_can_sample_zs(tex, is_stencil)) { in si_set_mutable_tex_desc_fields()
708 if (tex->is_depth || tex->resource.b.b.nr_samples >= 2) { in si_set_shader_image_desc()
713 assert(!tex->is_depth); in si_set_shader_image_desc()
Dsi_blit.c1277 sctx->generate_mipmap_for_depth = rtex->is_depth; in si_generate_mipmap()
1302 if (!rtex->is_depth && (rtex->cmask.size || rtex->dcc_offset)) { in si_flush_resource()
Dsi_clear.c683 if (rtex->is_depth) { in si_clear_texture()
Dsi_state.c2231 unsigned ntype, bool is_depth) in si_choose_spi_color_formats() argument
2337 if (is_depth) in si_choose_spi_color_formats()
2500 si_choose_spi_color_formats(surf, format, swap, ntype, rtex->is_depth); in si_initialize_color_surface()
3905 if (tmp->is_depth && !si_can_sample_zs(tmp, view->is_stencil_sampler)) { in si_create_sampler_view_custom()