Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mesa
mesa
Commits
2ea6b525
Commit
2ea6b525
authored
May 06, 2021
by
Marek Olšák
Browse files
radeonsi/gfx11: enable arbitrary DCC format reinterpretation
parent
4e9915b5
This commit is part of merge request
!16328
. Comments created here will be created in the context of that merge request.
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gallium/drivers/radeonsi/si_texture.c
Edit
View file @
2ea6b525
...
...
@@ -1991,6 +1991,10 @@ bool vi_dcc_formats_compatible(struct si_screen *sscreen, enum pipe_format forma
{
const
struct
util_format_description
*
desc1
,
*
desc2
;
/* All formats are compatible on GFX11. */
if
(
sscreen
->
info
.
chip_class
>=
GFX11
)
return
true
;
/* No format change - exit early. */
if
(
format1
==
format2
)
return
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment