Searched refs:zstex (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_clear.c519 static bool si_can_fast_clear_depth(struct si_texture *zstex, unsigned level, float depth, argument
524 si_htile_enabled(zstex, level, PIPE_MASK_Z) &&
525 (!zstex->tc_compatible_htile || depth == 0 || depth == 1);
528 static bool si_can_fast_clear_stencil(struct si_texture *zstex, unsigned level, uint8_t stencil, argument
533 si_htile_enabled(zstex, level, PIPE_MASK_S) &&
534 (!zstex->tc_compatible_htile || stencil == 0);
763 struct si_texture *zstex = zsbuf ? (struct si_texture *)zsbuf->texture : NULL; local in function:si_fast_clear
764 unsigned zs_num_layers = zstex ? util_num_layers(&zstex->buffer.b.b, zsbuf->u.tex.level) : 0;
766 if (zstex
969 struct si_texture *zstex = zsbuf ? (struct si_texture *)zsbuf->texture : NULL; local in function:si_clear
[all...]
H A Dsi_state_binning.c388 struct si_texture *zstex = (struct si_texture *)sctx->framebuffer.state.zsbuf->texture; local in function:gfx10_get_bin_sizes
394 (cPerDepthSample + cPerStencilSample) * MAX2(zstex->buffer.b.b.nr_samples, 1);
H A Dsi_state.c2938 struct si_texture *zstex = NULL; local in function:si_set_framebuffer_state
2942 zstex = (struct si_texture *)surf->base.texture;
2948 if (vi_tc_compat_htile_enabled(zstex, surf->base.u.tex.level, PIPE_MASK_ZS))
2955 zstex->surface.bpe < sctx->framebuffer.min_bytes_per_pixel)
2956 sctx->framebuffer.min_bytes_per_pixel = zstex->surface.bpe;
2977 (zstex && zstex->surface.has_stencil != old_has_stencil)))
3491 struct si_texture *zstex = (struct si_texture *)sctx->framebuffer.state.zsbuf->texture; local in function:si_out_of_order_rasterization
3492 bool has_stencil = zstex->surface.has_stencil;
H A Dsi_state_draw.cpp2488 struct si_texture *zstex = (struct si_texture *)sctx->framebuffer.state.zsbuf->texture; local in function:si_draw
2489 zstex->depth_cleared_level_mask &= ~BITFIELD_BIT(sctx->framebuffer.state.zsbuf->u.tex.level);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_clear.c562 struct si_texture *zstex = local in function:si_clear
584 if (zstex &&
585 si_htile_enabled(zstex, zsbuf->u.tex.level) &&
587 zsbuf->u.tex.last_layer == util_max_layer(&zstex->buffer.b.b, 0)) {
590 (!zstex->tc_compatible_htile ||
594 if (!zstex->depth_cleared || zstex->depth_clear_value != depth) {
598 if (zstex->depth_clear_value != (float)depth) {
600 zstex->depth_clear_value = depth;
610 (!zstex
[all...]
H A Dsi_state.c2945 struct si_texture *zstex = NULL; local in function:si_set_framebuffer_state
2949 zstex = (struct si_texture*)surf->base.texture;
2955 if (vi_tc_compat_htile_enabled(zstex, surf->base.u.tex.level))
2975 (zstex && zstex->surface.has_stencil != old_has_stencil)))
3364 struct si_texture *zstex = local in function:si_out_of_order_rasterization
3366 bool has_stencil = zstex->surface.has_stencil;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
H A Dr300_hyperz.c137 struct r300_resource *zstex = local in function:r300_update_hyperz
150 if (!zstex || !r300->hyperz_enabled)
154 if (zstex->tex.zcomp8x8[fb->zsbuf->u.tex.level]) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_hyperz.c137 struct r300_resource *zstex = local in function:r300_update_hyperz
150 if (!zstex || !r300->hyperz_enabled)
154 if (zstex->tex.zcomp8x8[fb->zsbuf->u.tex.level]) {

Completed in 21 milliseconds