Lines Matching defs:stencil

635       /* SResults 0 & 1 are set based on the stencil compare state.
656 static bool si_can_fast_clear_stencil(struct si_texture *zstex, unsigned level, uint8_t stencil,
659 /* TC-compatible HTILE only supports stencil clears to 0. */
662 (!zstex->tc_compatible_htile || stencil == 0);
666 const union pipe_color_union *color, float depth, uint8_t stencil)
901 /* Depth/stencil clears. */
916 /* If both depth and stencil are present, they must be cleared together. */
950 si_can_fast_clear_stencil(zstex, level, stencil, *buffers)) {
1028 si_can_fast_clear_stencil(zstex, level, stencil, *buffers)) {
1054 /* Z-only clear with stencil left intact. */
1066 si_can_fast_clear_stencil(zstex, level, stencil, *buffers)) {
1091 zstex->stencil_clear_value[level] != stencil) {
1092 zstex->stencil_clear_value[level] = stencil;
1104 const union pipe_color_union *color, double depth, unsigned stencil)
1122 si_fast_clear(sctx, &buffers, color, depth, stencil);
1164 if (si_can_fast_clear_stencil(zstex, level, stencil, buffers)) {
1165 stencil &= 0xff;
1170 zstex->stencil_clear_value[level] != stencil) {
1174 if (zstex->stencil_clear_value[level] != (uint8_t)stencil) {
1176 zstex->stencil_clear_value[level] = stencil;
1197 buffers, color, depth, stencil, sctx->framebuffer.nr_samples > 1);
1220 float depth, unsigned stencil)
1247 ctx->clear(ctx, buffers, NULL, color, depth, stencil);
1285 unsigned clear_flags, double depth, unsigned stencil,
1294 clear_flags, &unused, depth, stencil))
1299 util_blitter_clear_depth_stencil(sctx->blitter, dst, clear_flags, depth, stencil, dstx, dsty,
1323 uint8_t stencil = 0;
1331 util_format_unpack_s_8uint(tex->format, &stencil, data, 1);
1334 si_clear_depth_stencil(pipe, sf, clear, depth, stencil, box->x, box->y, box->width,