Home
last modified time | relevance | path

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

/third_party/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()
/third_party/mesa3d/src/util/format/
Du_format_table.py236 if format.has_depth():
275 if format.has_depth():
Du_format_parse.py323 def has_depth(self): member in Format
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_clear.c633 const bool has_depth = aspects & VK_IMAGE_ASPECT_DEPTH_BIT; in create_depth_clear_pipeline() local
635 assert(has_depth || has_stencil); in create_depth_clear_pipeline()
638 nir_shader *fs_nir = has_depth ? get_depth_clear_rect_fs() : NULL; in create_depth_clear_pipeline()
649 .depthTestEnable = has_depth, in create_depth_clear_pipeline()
650 .depthWriteEnable = has_depth, in create_depth_clear_pipeline()
777 const bool has_depth = (aspects & VK_IMAGE_ASPECT_DEPTH_BIT) ? 1 : 0; in get_depth_clear_pipeline_cache_key() local
778 key |= ((uint64_t) has_depth) << bit_offset; in get_depth_clear_pipeline_cache_key()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_resource.c60 if (FD_DBG(LRZ) && has_depth(rsc->b.b.format)) in fd5_setup_slices()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c1124 const bool has_depth = pfb->zsbuf; in emit_clears() local
1126 has_depth && fd_resource(pfb->zsbuf->texture)->stencil; in emit_clears()
1129 if ((has_depth && (buffers & PIPE_CLEAR_DEPTH)) || in emit_clears()
1523 const bool has_depth = pfb->zsbuf; in emit_sysmem_clears() local
1525 has_depth && fd_resource(pfb->zsbuf->texture)->stencil in emit_sysmem_clears()
Dfd6_draw.c472 const bool has_depth = pfb->zsbuf; in fd6_clear() local
495 if (has_depth && (buffers & PIPE_CLEAR_DEPTH)) { in fd6_clear()
Dfd6_resource.c231 if (!FD_DBG(NOLRZ) && has_depth(rsc->b.b.format)) in fd6_setup_slices()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.h252 has_depth(enum pipe_format format) in has_depth() function
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resource.c179 const bool has_depth = util_format_has_depth(format_desc); in crocus_resource_configure_main() local
213 else if (has_depth) { in crocus_resource_configure_main()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_context.c2217 bool has_depth = false; in begin_rendering() local
2252 has_depth = util_format_has_depth(util_format_description(ctx->fb_state.zsbuf->format)); in begin_rendering()
2264 if (has_depth) { in begin_rendering()