Home
last modified time | relevance | path

Searched refs:has_depth (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_gen_mipmap.c67 boolean has_depth = in util_gen_mipmap() local
71 if (is_zs && !has_depth) in util_gen_mipmap()
/external/mesa3d/src/util/format/
Du_format_table.py229 if format.has_depth():
262 if format.has_depth():
Du_format_parse.py267 def has_depth(self): member in Format
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_resource.c62 if ((fd_mesa_debug & FD_DBG_LRZ) && has_depth(rsc->base.format)) in fd5_setup_slices()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_resource.h42 bool has_depth; member
Dswr_context.cpp146 if (usage & PIPE_MAP_READ && spr->has_depth && spr->has_stencil) { in swr_transfer_map()
187 if (!spr->has_depth || !spr->has_stencil) in swr_transfer_flush_region()
227 spr->has_depth && spr->has_stencil) { in swr_transfer_unmap()
Dswr_screen.cpp649 res->has_depth = util_format_has_depth(desc); in swr_texture_layout()
652 if (res->has_stencil && !res->has_depth) in swr_texture_layout()
808 if (res->has_depth && res->has_stencil) { in swr_texture_layout()
Dswr_state.cpp881 if (swr_res->has_depth && swr_res->has_stencil && in swr_update_texture_state()
1323 if (zb && swr_resource(zb->texture)->has_depth) in swr_update_derived()
Dswr_shader.cpp160 if (swr_res->has_depth && swr_res->has_stencil && in swr_generate_sampler_key()
178 if (swr_res->has_depth && swr_res->has_stencil && in swr_generate_sampler_key()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_clear.c420 const bool has_depth = aspects & VK_IMAGE_ASPECT_DEPTH_BIT; in create_depth_clear_pipeline() local
422 assert(has_depth || has_stencil); in create_depth_clear_pipeline()
425 nir_shader *fs_nir = has_depth ? get_depth_clear_rect_fs() : NULL; in create_depth_clear_pipeline()
435 .depthTestEnable = has_depth, in create_depth_clear_pipeline()
436 .depthWriteEnable = has_depth, in create_depth_clear_pipeline()
555 const bool has_depth = (aspects & VK_IMAGE_ASPECT_DEPTH_BIT) ? 1 : 0; in get_depth_clear_pipeline_cache_key() local
556 key |= ((uint64_t) has_depth) << bit_offset; in get_depth_clear_pipeline_cache_key()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_resource.c150 if (!(fd_mesa_debug & FD_DBG_NOLRZ) && has_depth(rsc->base.format)) in fd6_setup_slices()
Dfd6_gmem.c1003 const bool has_depth = pfb->zsbuf; in emit_clears() local
1005 has_depth && fd_resource(pfb->zsbuf->texture)->stencil; in emit_clears()
1008 if ((has_depth && (buffers & PIPE_CLEAR_DEPTH)) || in emit_clears()
1321 const bool has_depth = pfb->zsbuf; in emit_sysmem_clears() local
1323 has_depth && fd_resource(pfb->zsbuf->texture)->stencil ? in emit_sysmem_clears()
1326 if ((has_depth && (buffers & PIPE_CLEAR_DEPTH)) || in emit_sysmem_clears()
Dfd6_draw.c479 const bool has_depth = pfb->zsbuf; in fd6_clear() local
502 if (has_depth && (buffers & PIPE_CLEAR_DEPTH)) { in fd6_clear()
/external/rust/crates/vulkano/src/render_pass/
Dcompat_atch.rs73 debug_assert!(image_view.image().has_depth() || image_view.image().has_stencil()); in ensure_image_view_compatible()
Drender_pass.rs702 pub fn has_depth(&self) -> bool { in has_depth() method
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.h185 has_depth(enum pipe_format format) in has_depth() function
/external/rust/crates/vulkano/src/image/
Dtraits.rs46 fn has_depth(&self) -> bool { in has_depth() method
/external/virglrenderer/src/gallium/auxiliary/util/
Du_format_parse.py246 def has_depth(self): member in Format
/external/mesa3d/src/freedreno/vulkan/
Dvk_format_parse.py250 def has_depth(self): member in Format
/external/mesa3d/src/amd/vulkan/
Dvk_format_parse.py258 def has_depth(self): member in Format
/external/rust/crates/vulkano/src/command_buffer/
Dauto.rs563 depth: !source.has_color() && source.has_depth() && destination.has_depth(),
966 } else if source.has_depth() {
/external/rust/crates/vulkano/src/pipeline/graphics_pipeline/
Dbuilder.rs985 && !self.subpass.as_ref().unwrap().has_depth() in with_pipeline_layout()