summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_blitter.h
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2019-02-26 11:54:56 -0500
committerRob Clark <[email protected]>2019-02-27 18:46:28 +0000
commit61e31886339b167bc85c48521664e456f0cfcf8e (patch)
tree123c1ba3e2ccdbc7926a3d9ab79ed01065c4e58c /src/gallium/drivers/freedreno/freedreno_blitter.h
parente3591b03393402321d24e10b93ec5a827a4b9b6a (diff)
freedreno: catch failing fd_blit and fallback to software blit
Fixes cases where the fd_blit fails and never happens (ex: blit to etc1) Signed-off-by: Jonathan Marek <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_blitter.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_blitter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_blitter.h b/src/gallium/drivers/freedreno/freedreno_blitter.h
index 1a58ad69959..669893961e8 100644
--- a/src/gallium/drivers/freedreno/freedreno_blitter.h
+++ b/src/gallium/drivers/freedreno/freedreno_blitter.h
@@ -45,6 +45,6 @@ void fd_resource_copy_region(struct pipe_context *pctx,
unsigned src_level,
const struct pipe_box *src_box);
-void fd_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info);
+bool fd_blit(struct pipe_context *pctx, const struct pipe_blit_info *blit_info);
#endif /* FREEDRENO_BLIT_H_ */