Searched refs:stencil_mt (Results 1 – 10 of 10) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_misc_state.c | 113 !srb->mt->stencil_mt && in brw_depthbuffer_format() 130 if (irb->mt->stencil_mt) in get_stencil_miptree() 131 return irb->mt->stencil_mt; in get_stencil_miptree() 262 struct intel_mipmap_tree *stencil_mt) in brw_emit_depth_stencil_hiz() argument 277 depth_mt = stencil_mt; in brw_emit_depth_stencil_hiz() 331 struct intel_mipmap_tree *stencil_mt = get_stencil_miptree(stencil_irb); in brw_emit_depthbuffer() local 335 if (stencil_mt) in brw_emit_depthbuffer() 336 brw_cache_flush_for_depth(brw, stencil_mt->bo); in brw_emit_depthbuffer() 340 stencil_irb, stencil_mt); in brw_emit_depthbuffer() 345 if (!depth_mt && !stencil_mt && brw->no_depth_or_stencil) { in brw_emit_depthbuffer() [all …]
|
D | intel_copy_image.c | 126 assert((src_mt->stencil_mt != NULL) == (dst_mt->stencil_mt != NULL)); in intel_copy_image_sub_data() 128 if (dst_mt->stencil_mt) { in intel_copy_image_sub_data() 129 copy_miptrees(brw, src_mt->stencil_mt, src_x, src_y, src_z, src_level, in intel_copy_image_sub_data() 130 dst_mt->stencil_mt, dst_x, dst_y, dst_z, dst_level, in intel_copy_image_sub_data()
|
D | intel_fbo.c | 657 struct intel_mipmap_tree *depth_mt = NULL, *stencil_mt = NULL; in intel_validate_framebuffer() local 667 stencil_mt = stencilRb->mt; in intel_validate_framebuffer() 668 if (stencil_mt->stencil_mt) in intel_validate_framebuffer() 669 stencil_mt = stencil_mt->stencil_mt; in intel_validate_framebuffer() 672 if (depth_mt && stencil_mt) { in intel_validate_framebuffer() 680 const unsigned s_width = stencil_mt->surf.phys_level0_sa.width; in intel_validate_framebuffer() 681 const unsigned s_height = stencil_mt->surf.phys_level0_sa.height; in intel_validate_framebuffer() 682 const unsigned s_depth = stencil_mt->surf.dim == ISL_SURF_DIM_3D ? in intel_validate_framebuffer() 683 stencil_mt->surf.phys_level0_sa.depth : in intel_validate_framebuffer() 684 stencil_mt->surf.phys_level0_sa.array_len; in intel_validate_framebuffer() [all …]
|
D | intel_mipmap_tree.c | 522 mt->stencil_mt = in miptree_create() 527 if (mt->stencil_mt == NULL) { in miptree_create() 1024 intel_miptree_release(&(*mt)->stencil_mt); in intel_miptree_release() 1096 if (mt->format == MESA_FORMAT_Z24_UNORM_X8_UINT && mt->stencil_mt) in intel_miptree_match_image() 1098 if (mt->format == MESA_FORMAT_Z_FLOAT32 && mt->stencil_mt) in intel_miptree_match_image() 1315 if (dst_mt->stencil_mt) { in intel_miptree_copy_slice_sw() 1316 assert(src_mt->stencil_mt); in intel_miptree_copy_slice_sw() 1318 src_mt->stencil_mt, src_level, src_layer, in intel_miptree_copy_slice_sw() 1319 dst_mt->stencil_mt, dst_level, dst_layer, in intel_miptree_copy_slice_sw() 1361 if (src_mt->stencil_mt) { in intel_miptree_copy_slice() [all …]
|
D | brw_blorp.c | 566 if (buffer_bit == GL_STENCIL_BUFFER_BIT && mt->stencil_mt) in find_miptree() 567 mt = mt->stencil_mt; in find_miptree() 783 if (src_mt->stencil_mt) in brw_blorp_copytexsubimage() 784 src_mt = src_mt->stencil_mt; in brw_blorp_copytexsubimage() 785 if (dst_mt->stencil_mt) in brw_blorp_copytexsubimage() 786 dst_mt = dst_mt->stencil_mt; in brw_blorp_copytexsubimage() 1452 struct intel_mipmap_tree *stencil_mt = NULL; in brw_blorp_clear_depth_stencil() local 1455 stencil_mt = find_miptree(GL_STENCIL_BUFFER_BIT, irb); in brw_blorp_clear_depth_stencil() 1469 intel_miptree_prepare_access(brw, stencil_mt, level, 1, in brw_blorp_clear_depth_stencil() 1474 blorp_surf_for_miptree(brw, &stencil_surf, stencil_mt, in brw_blorp_clear_depth_stencil() [all …]
|
D | brw_draw.c | 749 struct intel_mipmap_tree *stencil_mt = in brw_postdraw_set_buffers_need_resolve() local 750 stencil_irb->mt->stencil_mt != NULL ? in brw_postdraw_set_buffers_need_resolve() 751 stencil_irb->mt->stencil_mt : stencil_irb->mt; in brw_postdraw_set_buffers_need_resolve() 752 brw_depth_cache_add_bo(brw, stencil_mt->bo); in brw_postdraw_set_buffers_need_resolve() 753 intel_miptree_finish_write(brw, stencil_mt, stencil_irb->mt_level, in brw_postdraw_set_buffers_need_resolve()
|
D | intel_mipmap_tree.h | 284 struct intel_mipmap_tree *stencil_mt; member
|
D | brw_wm_surface_state.c | 571 assert(mt->shadow_mt && !mt->stencil_mt->shadow_needs_update); in brw_update_texture_surface() 574 mt = mt->stencil_mt; in brw_update_texture_surface()
|
D | intel_screen.c | 579 image->has_depthstencil = irb->mt->stencil_mt? true : false; in intel_create_image_from_renderbuffer() 636 image->has_depthstencil = iobj->mt->stencil_mt? true : false; in intel_create_image_from_texture()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_fbo.c | 560 struct intel_mipmap_tree *depth_mt = NULL, *stencil_mt = NULL; in intel_validate_framebuffer() local 570 stencil_mt = stencilRb->mt; in intel_validate_framebuffer() 572 if (depth_mt && stencil_mt) { in intel_validate_framebuffer() 577 if (depth_mt == stencil_mt) { in intel_validate_framebuffer()
|