Lines Matching refs:zsbuf
72 if (dst->zsbuf != src->zsbuf) { in util_framebuffer_state_equal()
105 pipe_surface_reference(&dst->zsbuf, src->zsbuf); in util_copy_framebuffer_state()
118 pipe_surface_reference(&dst->zsbuf, NULL); in util_copy_framebuffer_state()
132 pipe_surface_reference(&fb->zsbuf, NULL); in util_unreference_framebuffer_state()
160 if (fb->zsbuf) { in util_framebuffer_min_size()
161 w = MIN2(w, fb->zsbuf->width); in util_framebuffer_min_size()
162 h = MIN2(h, fb->zsbuf->height); in util_framebuffer_min_size()
191 if (!(fb->nr_cbufs || fb->zsbuf)) in util_framebuffer_get_num_layers()
201 if (fb->zsbuf) { in util_framebuffer_get_num_layers()
202 unsigned num = fb->zsbuf->u.tex.last_layer - in util_framebuffer_get_num_layers()
203 fb->zsbuf->u.tex.first_layer + 1; in util_framebuffer_get_num_layers()
229 if (!(fb->nr_cbufs || fb->zsbuf)) in util_framebuffer_get_num_samples()
237 if (fb->zsbuf) { in util_framebuffer_get_num_samples()
238 return MAX2(1, fb->zsbuf->texture->nr_samples); in util_framebuffer_get_num_samples()