Home
last modified time | relevance | path

Searched refs:has_stencil (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mesa3d/src/util/format/
Du_format_table.py240 if format.has_stencil():
279 if format.has_stencil():
Du_format_parse.py326 def has_stencil(self): member in Format
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_clear.c634 const bool has_stencil = aspects & VK_IMAGE_ASPECT_STENCIL_BIT; in create_depth_clear_pipeline() local
635 assert(has_depth || has_stencil); in create_depth_clear_pipeline()
653 .stencilTestEnable = has_stencil, in create_depth_clear_pipeline()
781 const bool has_stencil = (aspects & VK_IMAGE_ASPECT_STENCIL_BIT) ? 1 : 0; in get_depth_clear_pipeline_cache_key() local
782 key |= ((uint64_t) has_stencil) << bit_offset; in get_depth_clear_pipeline_cache_key()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_pass.c375 attachment->has_stencil = vk_format_has_stencil(attachment->vk_format); in pvr_CreateRenderPass2()
376 if (attachment->has_stencil) { in pvr_CreateRenderPass2()
Dpvr_private.h1212 bool has_stencil; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c918 (*buffers & PIPE_CLEAR_DEPTH && (!zstex->surface.has_stencil || in si_fast_clear()
939 if (zstex->htile_stencil_disabled || !zstex->surface.has_stencil) { in si_fast_clear()
1012 if (zstex->htile_stencil_disabled || !zstex->surface.has_stencil) { in si_fast_clear()
1329 if (stex->surface.has_stencil) { in si_clear_texture()
Dsi_state_binning.c189 unsigned stencil_coeff = tex->surface.has_stencil && dsa->stencil_enabled ? 1 : 0; in si_get_depth_bin_size()
Dsi_state.c2702 stencil_format = tex->surface.has_stencil ? V_028044_STENCIL_8 : V_028044_STENCIL_INVALID; in si_init_depth_surface()
2743 if (tex->surface.has_stencil && !tex->htile_stencil_disabled) { in si_init_depth_surface()
2806 if (tex->surface.has_stencil) { in si_init_depth_surface()
2859 if (tex->surface.has_stencil) in si_update_fb_dirtiness_after_rendering()
2931 ((struct si_texture *)sctx->framebuffer.state.zsbuf->texture)->surface.has_stencil; in si_set_framebuffer_state()
3139 (zstex && zstex->surface.has_stencil != old_has_stencil))) in si_set_framebuffer_state()
3701 bool has_stencil = zstex->surface.has_stencil; in si_out_of_order_rasterization() local
3702 dsa_order_invariant = dsa->order_invariance[has_stencil]; in si_out_of_order_rasterization()
Dsi_texture.c882 if (tex->surface.has_stencil) { in si_print_texture_info()
989 tex->htile_stencil_disabled = !tex->surface.has_stencil; in si_texture_create_object()
Dsi_blit.c855 if (!stex->surface.has_stencil) in si_decompress_subresource()
Dsi_pipe.h1846 if (zs_mask == PIPE_MASK_S && (tex->htile_stencil_disabled || !tex->surface.has_stencil)) in si_htile_enabled()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.c944 bool has_stencil = zs_format != PIPE_FORMAT_Z24X8_UNORM && in util_make_fs_pack_color_zs() local
987 if (has_stencil) { in util_make_fs_pack_color_zs()
1054 if (has_stencil) { in util_make_fs_pack_color_zs()
Du_transfer_helper.c618 bool has_stencil = util_format_is_depth_and_stencil(format); in u_transfer_helper_deinterleave_transfer_map() local
630 if (has_stencil) in u_transfer_helper_deinterleave_transfer_map()
/third_party/mesa3d/src/amd/common/
Dac_surface.h320 uint8_t has_stencil : 1; member
Dac_surface.c1223 surf->has_stencil = !!(surf->flags & RADEON_SURF_SBUFFER); in gfx6_compute_surface()
2325 surf->has_stencil = !!(surf->flags & RADEON_SURF_SBUFFER); in gfx9_compute_surface()
3068 if (surf->has_stencil) in ac_surface_print_info()
3117 if (surf->has_stencil) in ac_surface_print_info()
/third_party/mesa3d/src/intel/isl/
Disl_format.c1094 isl_format_get_depth_format(enum isl_format fmt, bool has_stencil) in isl_format_get_depth_format() argument
1100 assert(has_stencil); in isl_format_get_depth_format()
1103 assert(!has_stencil); in isl_format_get_depth_format()
1106 if (has_stencil) { in isl_format_get_depth_format()
1112 assert(!has_stencil); in isl_format_get_depth_format()
Disl.c3187 bool has_stencil = surf->usage & ISL_SURF_USAGE_STENCIL_BIT; in isl_surf_get_depth_format() local
3191 if (has_stencil) in isl_surf_get_depth_format()
3201 assert(!has_stencil); in isl_surf_get_depth_format()
3204 if (has_stencil) { in isl_surf_get_depth_format()
3212 assert(!has_stencil); in isl_surf_get_depth_format()
Disl.h1911 uint32_t isl_format_get_depth_format(enum isl_format fmt, bool has_stencil);
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c187 surf_ws->has_stencil = !!(surf_drm->flags & RADEON_SURF_SBUFFER); in surf_drm_to_winsys()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c874 if (rtex->surface.has_stencil) { in r600_print_texture_info()
1618 if (rtex->surface.has_stencil) { in r600_clear_texture()
Dr600_blit.c446 if (rtex->surface.has_stencil) { in r600_decompress_subresource()
Dr600_state_common.c2547 if (rtex->surface.has_stencil) in r600_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_context.c2218 bool has_stencil = false; in begin_rendering() local
2253has_stencil = util_format_has_stencil(util_format_description(ctx->fb_state.zsbuf->format)); in begin_rendering()
2269 if (has_stencil) { in begin_rendering()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_clear.c891 if (iview->image->planes[0].surface.has_stencil && in radv_fast_clear_depth()
Dradv_pipeline.c1003 bool has_stencil = info->ri.stencil_att_format != VK_FORMAT_UNDEFINED; in radv_pipeline_out_of_order_rast() local
1038 dsa_order_invariant = order_invariance[has_stencil]; in radv_pipeline_out_of_order_rast()

12