Home
last modified time | relevance | path

Searched refs:depth_irb (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clear.c96 struct intel_renderbuffer *depth_irb = in brw_fast_clear_depth() local
98 struct intel_mipmap_tree *mt = depth_irb->mt; in brw_fast_clear_depth()
119 if (mt->level[depth_irb->mt_level].width % 8 != 0 || in brw_fast_clear_depth()
120 mt->level[depth_irb->mt_level].height % 4 != 0) { in brw_fast_clear_depth()
124 mt->level[depth_irb->mt_level].width, in brw_fast_clear_depth()
125 mt->level[depth_irb->mt_level].height); in brw_fast_clear_depth()
157 if (intel->gen == 6 && (mt->level[depth_irb->mt_level].width % 16) != 0) in brw_fast_clear_depth()
183 intel_hiz_exec(intel, mt, depth_irb->mt_level, depth_irb->mt_layer, in brw_fast_clear_depth()
199 intel_renderbuffer_set_needs_depth_resolve(depth_irb); in brw_fast_clear_depth()
Dbrw_misc_state.c262 struct intel_renderbuffer *depth_irb = intel_get_renderbuffer(fb, BUFFER_DEPTH); in emit_depthbuffer() local
289 if (depth_irb) { in emit_depthbuffer()
290 intel_region_get_tile_masks(depth_irb->mt->region, in emit_depthbuffer()
294 if (depth_irb && in emit_depthbuffer()
295 depth_irb->mt && in emit_depthbuffer()
296 depth_irb->mt->hiz_mt) { in emit_depthbuffer()
297 hiz_region = depth_irb->mt->hiz_mt->region; in emit_depthbuffer()
344 if (!depth_irb && stencil_irb && !separate_stencil) in emit_depthbuffer()
345 depth_irb = stencil_irb; in emit_depthbuffer()
354 if (!depth_irb && !separate_stencil) { in emit_depthbuffer()
[all …]
Dgen6_depthstencil.c37 struct intel_renderbuffer *depth_irb; in gen6_upload_depth_stencil_state() local
40 depth_irb = intel_get_renderbuffer(ctx->DrawBuffer, BUFFER_DEPTH); in gen6_upload_depth_stencil_state()
85 if (ctx->Depth.Test && depth_irb) { in gen6_upload_depth_stencil_state()
Dbrw_draw.c303 struct intel_renderbuffer *depth_irb; in brw_predraw_resolve_buffers() local
307 depth_irb = intel_get_renderbuffer(ctx->DrawBuffer, BUFFER_DEPTH); in brw_predraw_resolve_buffers()
308 if (depth_irb) in brw_predraw_resolve_buffers()
309 intel_renderbuffer_resolve_hiz(intel, depth_irb); in brw_predraw_resolve_buffers()
339 struct intel_renderbuffer *depth_irb = intel_get_renderbuffer(fb, BUFFER_DEPTH); in brw_postdraw_set_buffers_need_resolve() local
348 if (depth_irb && ctx->Depth.Mask) in brw_postdraw_set_buffers_need_resolve()
349 intel_renderbuffer_set_needs_depth_resolve(depth_irb); in brw_postdraw_set_buffers_need_resolve()