Searched refs:depth_irb (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_clear.c | 106 struct intel_renderbuffer *depth_irb = in brw_fast_clear_depth() local 108 struct intel_mipmap_tree *mt = depth_irb->mt; in brw_fast_clear_depth() 115 if (!intel_renderbuffer_has_hiz(depth_irb)) in brw_fast_clear_depth() 155 depth_irb->mt_level - mt->first_level) % 16) != 0) in brw_fast_clear_depth() 173 const uint32_t num_layers = depth_att->Layered ? depth_irb->layer_count : 1; in brw_fast_clear_depth() 186 if (level == depth_irb->mt_level && in brw_fast_clear_depth() 187 layer >= depth_irb->mt_layer && in brw_fast_clear_depth() 188 layer < depth_irb->mt_layer + num_layers) { in brw_fast_clear_depth() 221 intel_miptree_get_aux_state(mt, depth_irb->mt_level, in brw_fast_clear_depth() 222 depth_irb->mt_layer + a); in brw_fast_clear_depth() [all …]
|
D | brw_misc_state.c | 204 struct intel_renderbuffer *depth_irb = intel_get_renderbuffer(fb, BUFFER_DEPTH); in brw_workaround_depthstencil_alignment() local 210 if (depth_irb) in brw_workaround_depthstencil_alignment() 211 depth_mt = depth_irb->mt; in brw_workaround_depthstencil_alignment() 228 if (depth_irb && invalidate_depth && in brw_workaround_depthstencil_alignment() 232 if (depth_irb) { in brw_workaround_depthstencil_alignment() 233 if (rebase_depth_stencil(brw, depth_irb, invalidate_depth)) { in brw_workaround_depthstencil_alignment() 238 stencil_irb != depth_irb && in brw_workaround_depthstencil_alignment() 240 intel_miptree_reference(&stencil_irb->mt, depth_irb->mt); in brw_workaround_depthstencil_alignment() 246 assert(stencil_irb->mt == depth_irb->mt); in brw_workaround_depthstencil_alignment() 247 assert(stencil_irb->mt_level == depth_irb->mt_level); in brw_workaround_depthstencil_alignment() [all …]
|
D | brw_draw.c | 505 struct intel_renderbuffer *depth_irb; in brw_predraw_resolve_framebuffer() local 508 depth_irb = intel_get_renderbuffer(ctx->DrawBuffer, BUFFER_DEPTH); in brw_predraw_resolve_framebuffer() 509 if (depth_irb && depth_irb->mt) { in brw_predraw_resolve_framebuffer() 510 intel_miptree_prepare_depth(brw, depth_irb->mt, in brw_predraw_resolve_framebuffer() 511 depth_irb->mt_level, in brw_predraw_resolve_framebuffer() 512 depth_irb->mt_layer, in brw_predraw_resolve_framebuffer() 513 depth_irb->layer_count); in brw_predraw_resolve_framebuffer() 590 struct intel_renderbuffer *depth_irb = intel_get_renderbuffer(fb, BUFFER_DEPTH); in brw_postdraw_set_buffers_need_resolve() local 601 if (depth_irb) { in brw_postdraw_set_buffers_need_resolve() 604 intel_miptree_finish_depth(brw, depth_irb->mt, in brw_postdraw_set_buffers_need_resolve() [all …]
|
D | gen8_depth_state.c | 229 struct intel_renderbuffer *depth_irb = in pma_fix_enable() local 242 const bool hiz_enabled = depth_irb && intel_renderbuffer_has_hiz(depth_irb); in pma_fix_enable() 263 const bool depth_test_enabled = depth_irb && ctx->Depth.Test; in pma_fix_enable()
|
D | genX_state_upload.c | 1157 struct intel_renderbuffer *depth_irb = in set_depth_stencil_bits() local 1167 if (depth->Test && depth_irb) { in set_depth_stencil_bits()
|