projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b05b858
)
radeonsi: handle incompatible DCC formats in resource_copy_region
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 24 Mar 2017 11:21:20 +0000
(12:21 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 30 Mar 2017 14:09:39 +0000
(16:09 +0200)
Required because of later commits.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
src/gallium/drivers/radeonsi/si_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_blit.c
b/src/gallium/drivers/radeonsi/si_blit.c
index cb0b2d35822d364cdbf9b24dd534e389cea66638..864c5be58c7b990e3996be7d27e0771ab3970430 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_blit.c
+++ b/
src/gallium/drivers/radeonsi/si_blit.c
@@
-946,6
+946,11
@@
void si_resource_copy_region(struct pipe_context *ctx,
}
}
+ vi_dcc_disable_if_incompatible_format(&sctx->b, dst, dst_level,
+ dst_templ.format);
+ vi_dcc_disable_if_incompatible_format(&sctx->b, src, src_level,
+ src_templ.format);
+
/* Initialize the surface. */
dst_view = r600_create_surface_custom(ctx, dst, &dst_templ,
dst_width0, dst_height0,