From 61e31886339b167bc85c48521664e456f0cfcf8e Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Tue, 26 Feb 2019 11:54:56 -0500 Subject: 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 --- src/gallium/drivers/freedreno/freedreno_blitter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/freedreno/freedreno_blitter.h') 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_ */ -- cgit v1.2.3