Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c165 struct pipe_surface *zsurf, *cbsurf, surf_tmpl; in r600_blit_decompress_depth() local
177 zsurf = ctx->create_surface(ctx, &texture->resource.b.b, &surf_tmpl); in r600_blit_decompress_depth()
184 util_blitter_custom_depth_stencil(rctx->blitter, zsurf, cbsurf, 1 << sample, in r600_blit_decompress_depth()
188 pipe_surface_reference(&zsurf, NULL); in r600_blit_decompress_depth()
213 struct pipe_surface *zsurf, surf_tmpl = {{0}}; in r600_blit_decompress_depth_in_place() local
244 zsurf = rctx->b.b.create_surface(&rctx->b.b, &texture->resource.b.b, &surf_tmpl); in r600_blit_decompress_depth_in_place()
247 util_blitter_custom_depth_stencil(rctx->blitter, zsurf, NULL, ~0, in r600_blit_decompress_depth_in_place()
251 pipe_surface_reference(&zsurf, NULL); in r600_blit_decompress_depth_in_place()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_blit.c157 struct pipe_surface *zsurf, *cbsurf; in si_blit_dbcb_copy() local
163 zsurf = sctx->b.create_surface(&sctx->b, &src->buffer.b.b, &surf_tmpl); in si_blit_dbcb_copy()
175 util_blitter_custom_depth_stencil(sctx->blitter, zsurf, cbsurf, 1 << sample, in si_blit_dbcb_copy()
180 pipe_surface_reference(&zsurf, NULL); in si_blit_dbcb_copy()
204 struct pipe_surface *zsurf, surf_tmpl = {{0}}; in si_blit_decompress_zs_planes_in_place() local
235 zsurf = sctx->b.create_surface(&sctx->b, &texture->buffer.b.b, &surf_tmpl); in si_blit_decompress_zs_planes_in_place()
238 util_blitter_custom_depth_stencil(sctx->blitter, zsurf, NULL, ~0, sctx->custom_dsa_flush, in si_blit_decompress_zs_planes_in_place()
242 pipe_surface_reference(&zsurf, NULL); in si_blit_decompress_zs_planes_in_place()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_clear.c441 set_clear_fb(struct pipe_context *pctx, struct pipe_surface *psurf, struct pipe_surface *zsurf) in set_clear_fb() argument
444 fb_state.width = psurf ? psurf->width : zsurf->width; in set_clear_fb()
445 fb_state.height = psurf ? psurf->height : zsurf->height; in set_clear_fb()
448 fb_state.zsbuf = zsurf; in set_clear_fb()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_blitter.c2528 struct pipe_surface *zsurf, in util_blitter_custom_depth_stencil() argument
2537 assert(zsurf->texture); in util_blitter_custom_depth_stencil()
2538 if (!zsurf->texture) in util_blitter_custom_depth_stencil()
2558 fb_state.width = zsurf->width; in util_blitter_custom_depth_stencil()
2559 fb_state.height = zsurf->height; in util_blitter_custom_depth_stencil()
2568 fb_state.zsbuf = zsurf; in util_blitter_custom_depth_stencil()
2576 blitter_set_dst_dimensions(ctx, zsurf->width, zsurf->height); in util_blitter_custom_depth_stencil()
2578 0, 0, zsurf->width, zsurf->height, depth, in util_blitter_custom_depth_stencil()
Du_blitter.h368 struct pipe_surface *zsurf,
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.c670 struct virgl_surface *zsurf = virgl_surface(state->zsbuf); in virgl_encoder_set_framebuffer_state() local
675 virgl_encoder_write_dword(ctx->cbuf, zsurf ? zsurf->handle : 0); in virgl_encoder_set_framebuffer_state()