mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 17:30:20 +01:00
radeonsi: handle incompatible DCC formats in resource_copy_region
Required because of later commits. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
This commit is contained in:
parent
b05b8587ae
commit
45a71d5de5
1 changed files with 5 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue