diff options
author | Vasily Khoruzhick <[email protected]> | 2019-04-06 22:55:36 -0700 |
---|---|---|
committer | Qiang Yu <[email protected]> | 2019-04-14 01:16:00 +0000 |
commit | fef2f10cc2ad298f179d5a5aa0a210fbea02d95f (patch) | |
tree | 884a908a3647f88aaf99f84d99238ea860a03fd3 /src/gallium/drivers/lima/lima_context.h | |
parent | a817f0fec6e3d3bbbfb8df0349c0085710b5aad4 (diff) |
lima: add support for depth/stencil fbo attachments and textures
Hardware supports writing back Z/S buffers and sampling from them,
so add support for that.
Signed-off-by: Vasily Khoruzhick <[email protected]>
Reviewed-by: Qiang Yu <[email protected]>
Tested-by: Icenowy Zheng <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/lima_context.h')
-rw-r--r-- | src/gallium/drivers/lima/lima_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_context.h b/src/gallium/drivers/lima/lima_context.h index 469378a4a36..4bbe915bcdc 100644 --- a/src/gallium/drivers/lima/lima_context.h +++ b/src/gallium/drivers/lima/lima_context.h @@ -292,5 +292,6 @@ lima_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags); void lima_flush(struct lima_context *ctx); bool lima_need_flush(struct lima_context *ctx, struct lima_bo *bo, bool write); +bool lima_is_scanout(struct lima_context *ctx); #endif |