Searched refs:zstex (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_clear.c | 647 static bool si_can_fast_clear_depth(struct si_texture *zstex, unsigned level, float depth, in si_can_fast_clear_depth() argument 652 si_htile_enabled(zstex, level, PIPE_MASK_Z) && in si_can_fast_clear_depth() 653 (!zstex->tc_compatible_htile || depth == 0 || depth == 1); in si_can_fast_clear_depth() 656 static bool si_can_fast_clear_stencil(struct si_texture *zstex, unsigned level, uint8_t stencil, in si_can_fast_clear_stencil() argument 661 si_htile_enabled(zstex, level, PIPE_MASK_S) && in si_can_fast_clear_stencil() 662 (!zstex->tc_compatible_htile || stencil == 0); in si_can_fast_clear_stencil() 903 struct si_texture *zstex = zsbuf ? (struct si_texture *)zsbuf->texture : NULL; in si_fast_clear() local 904 unsigned zs_num_layers = zstex ? util_num_layers(&zstex->buffer.b.b, zsbuf->u.tex.level) : 0; in si_fast_clear() 906 if (zstex && zsbuf->u.tex.first_layer == 0 && in si_fast_clear() 908 si_htile_enabled(zstex, zsbuf->u.tex.level, PIPE_MASK_ZS)) { in si_fast_clear() [all …]
|
D | si_state_binning.c | 388 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()
|
D | si_state.c | 3100 struct si_texture *zstex = NULL; in si_set_framebuffer_state() local 3104 zstex = (struct si_texture *)surf->base.texture; in si_set_framebuffer_state() 3110 if (vi_tc_compat_htile_enabled(zstex, surf->base.u.tex.level, PIPE_MASK_ZS)) in si_set_framebuffer_state() 3117 zstex->surface.bpe < sctx->framebuffer.min_bytes_per_pixel) in si_set_framebuffer_state() 3118 sctx->framebuffer.min_bytes_per_pixel = zstex->surface.bpe; in si_set_framebuffer_state() 3139 (zstex && zstex->surface.has_stencil != old_has_stencil))) in si_set_framebuffer_state() 3700 struct si_texture *zstex = (struct si_texture *)sctx->framebuffer.state.zsbuf->texture; in si_out_of_order_rasterization() local 3701 bool has_stencil = zstex->surface.has_stencil; in si_out_of_order_rasterization()
|
D | si_state_draw.cpp | 2618 struct si_texture *zstex = (struct si_texture *)sctx->framebuffer.state.zsbuf->texture; in si_draw() local 2619 zstex->depth_cleared_level_mask &= ~BITFIELD_BIT(sctx->framebuffer.state.zsbuf->u.tex.level); in si_draw()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_hyperz.c | 137 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()
|