Home
last modified time | relevance | path

Searched refs:zsurf (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c163 struct pipe_surface *zsurf, *cbsurf, surf_tmpl; in r600_blit_decompress_depth() local
175 zsurf = ctx->create_surface(ctx, &texture->resource.b.b, &surf_tmpl); in r600_blit_decompress_depth()
182 util_blitter_custom_depth_stencil(rctx->blitter, zsurf, cbsurf, 1 << sample, in r600_blit_decompress_depth()
186 pipe_surface_reference(&zsurf, NULL); in r600_blit_decompress_depth()
211 struct pipe_surface *zsurf, surf_tmpl = {{0}}; in r600_blit_decompress_depth_in_place() local
242 zsurf = rctx->b.b.create_surface(&rctx->b.b, &texture->resource.b.b, &surf_tmpl); in r600_blit_decompress_depth_in_place()
245 util_blitter_custom_depth_stencil(rctx->blitter, zsurf, NULL, ~0, in r600_blit_decompress_depth_in_place()
249 pipe_surface_reference(&zsurf, NULL); in r600_blit_decompress_depth_in_place()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c146 struct pipe_surface *zsurf, *cbsurf; in si_blit_dbcb_copy() local
152 zsurf = sctx->b.create_surface(&sctx->b, &src->buffer.b.b, &surf_tmpl); in si_blit_dbcb_copy()
164 util_blitter_custom_depth_stencil(sctx->blitter, zsurf, cbsurf, 1 << sample, in si_blit_dbcb_copy()
169 pipe_surface_reference(&zsurf, NULL); in si_blit_dbcb_copy()
193 struct pipe_surface *zsurf, surf_tmpl = {{0}}; in si_blit_decompress_zs_planes_in_place() local
224 zsurf = sctx->b.create_surface(&sctx->b, &texture->buffer.b.b, &surf_tmpl); in si_blit_decompress_zs_planes_in_place()
227 util_blitter_custom_depth_stencil(sctx->blitter, zsurf, NULL, ~0, sctx->custom_dsa_flush, in si_blit_decompress_zs_planes_in_place()
231 pipe_surface_reference(&zsurf, NULL); in si_blit_decompress_zs_planes_in_place()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c2424 struct pipe_surface *zsurf, in util_blitter_custom_depth_stencil() argument
2433 assert(zsurf->texture); in util_blitter_custom_depth_stencil()
2434 if (!zsurf->texture) in util_blitter_custom_depth_stencil()
2454 fb_state.width = zsurf->width; in util_blitter_custom_depth_stencil()
2455 fb_state.height = zsurf->height; in util_blitter_custom_depth_stencil()
2464 fb_state.zsbuf = zsurf; in util_blitter_custom_depth_stencil()
2470 blitter_set_dst_dimensions(ctx, zsurf->width, zsurf->height); in util_blitter_custom_depth_stencil()
2472 0, 0, zsurf->width, zsurf->height, depth, in util_blitter_custom_depth_stencil()
Du_blitter.h377 struct pipe_surface *zsurf,
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.c653 struct virgl_surface *zsurf = virgl_surface(state->zsbuf); in virgl_encoder_set_framebuffer_state() local
658 virgl_encoder_write_dword(ctx->cbuf, zsurf ? zsurf->handle : 0); in virgl_encoder_set_framebuffer_state()