Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/swr/
Dswr_resource.h42 bool has_stencil; member
Dswr_context.cpp147 if (usage & PIPE_TRANSFER_READ && spr->has_depth && spr->has_stencil) { in swr_transfer_map()
188 if (!spr->has_depth || !spr->has_stencil) in swr_transfer_flush_region()
228 spr->has_depth && spr->has_stencil) { in swr_transfer_unmap()
Dswr_screen.cpp646 res->has_stencil = util_format_has_stencil(desc); in swr_texture_layout()
648 if (res->has_stencil && !res->has_depth) in swr_texture_layout()
792 if (res->has_depth && res->has_stencil) { in swr_texture_layout()
Dswr_draw.cpp294 if (spr->has_stencil && (i == SWR_ATTACHMENT_DEPTH)) { in swr_store_dirty_resource()
Dswr_shader.cpp98 if (swr_res->has_depth && swr_res->has_stencil && in swr_generate_sampler_key()
116 if (swr_res->has_depth && swr_res->has_stencil && in swr_generate_sampler_key()
Dswr_state.cpp724 if (swr_res->has_depth && swr_res->has_stencil && in swr_update_texture_state()
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_table.py173 if format.has_stencil():
Du_format_parse.py241 def has_stencil(self): member in Format
Du_blitter.c1690 boolean has_depth, has_stencil, has_color; in util_blitter_blit_generic() local
1702 has_stencil = util_format_has_stencil(src_desc) && in util_blitter_blit_generic()
1707 blit_stencil = has_stencil && (mask & PIPE_MASK_S) && in util_blitter_blit_generic()
/external/mesa3d/src/intel/isl/
Disl.c1848 bool has_stencil = surf->usage & ISL_SURF_USAGE_STENCIL_BIT; in isl_surf_get_depth_format() local
1852 if (has_stencil) in isl_surf_get_depth_format()
1862 assert(!has_stencil); in isl_surf_get_depth_format()
1865 if (has_stencil) { in isl_surf_get_depth_format()
1873 assert(!has_stencil); in isl_surf_get_depth_format()
Disl_format.c551 isl_format_get_depth_format(enum isl_format fmt, bool has_stencil) in isl_format_get_depth_format() argument
557 assert(has_stencil); in isl_format_get_depth_format()
560 assert(!has_stencil); in isl_format_get_depth_format()
563 if (has_stencil) { in isl_format_get_depth_format()
569 assert(!has_stencil); in isl_format_get_depth_format()
Disl.h1078 uint32_t isl_format_get_depth_format(enum isl_format fmt, bool has_stencil);
/external/mesa3d/src/amd/vulkan/
Dvk_format_parse.py249 def has_stencil(self): member in Format
/external/mesa3d/src/intel/vulkan/
DgenX_cmd_buffer.c2185 const bool has_stencil = in cmd_buffer_emit_depth_stencil() local
2199 db.StencilWriteEnable = has_stencil; in cmd_buffer_emit_depth_stencil()
2247 if (has_stencil) { in cmd_buffer_emit_depth_stencil()
2256 db.StencilWriteEnable = has_stencil; in cmd_buffer_emit_depth_stencil()
2291 if (has_stencil) { in cmd_buffer_emit_depth_stencil()