Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c553 struct si_texture *zstex = zsbuf ? (struct si_texture *)zsbuf->texture : NULL; in si_clear() local
575 if (zstex && zsbuf->u.tex.first_layer == 0 && in si_clear()
576 zsbuf->u.tex.last_layer == util_max_layer(&zstex->buffer.b.b, 0)) { in si_clear()
578 if (zstex->enable_tc_compatible_htile_next_clear && in si_clear()
579 !zstex->tc_compatible_htile && in si_clear()
580 si_htile_enabled(zstex, zsbuf->u.tex.level, PIPE_MASK_ZS) && in si_clear()
583 (buffers & PIPE_CLEAR_DEPTH && (!zstex->surface.has_stencil || in si_clear()
584 zstex->htile_stencil_disabled)))) { in si_clear()
586 zstex->enable_tc_compatible_htile_next_clear = false; in si_clear()
587 zstex->tc_compatible_htile = true; in si_clear()
[all …]
Dsi_state_binning.c388 struct si_texture *zstex = (struct si_texture *)sctx->framebuffer.state.zsbuf->texture; in gfx10_get_bin_sizes() local
394 (cPerDepthSample + cPerStencilSample) * MAX2(zstex->buffer.b.b.nr_samples, 1); in gfx10_get_bin_sizes()
Dsi_state.c2796 struct si_texture *zstex = NULL; in si_set_framebuffer_state() local
2800 zstex = (struct si_texture *)surf->base.texture; in si_set_framebuffer_state()
2806 if (vi_tc_compat_htile_enabled(zstex, surf->base.u.tex.level, PIPE_MASK_ZS)) in si_set_framebuffer_state()
2813 zstex->surface.bpe < sctx->framebuffer.min_bytes_per_pixel) in si_set_framebuffer_state()
2814 sctx->framebuffer.min_bytes_per_pixel = zstex->surface.bpe; in si_set_framebuffer_state()
2835 (zstex && zstex->surface.has_stencil != old_has_stencil))) in si_set_framebuffer_state()
3326 struct si_texture *zstex = (struct si_texture *)sctx->framebuffer.state.zsbuf->texture; in si_out_of_order_rasterization() local
3327 bool has_stencil = zstex->surface.has_stencil; in si_out_of_order_rasterization()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_hyperz.c137 struct r300_resource *zstex = in r300_update_hyperz() local
150 if (!zstex || !r300->hyperz_enabled) in r300_update_hyperz()
154 if (zstex->tex.zcomp8x8[fb->zsbuf->u.tex.level]) { in r300_update_hyperz()