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
Joshua Ashton
mesa
Commits
e86c9235
Commit
e86c9235
authored
Sep 10, 2021
by
Joshua Ashton
🐸
Browse files
radeonsi: Don't use DCC stores when ACCESS_DCC_OFF is set
Signed-off-by:
Joshua Ashton
<
joshua@froggi.es
>
parent
eb8ec12b
Pipeline
#399106
waiting for manual action with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/gallium/drivers/radeonsi/si_descriptors.c
View file @
e86c9235
...
...
@@ -741,7 +741,7 @@ static void si_set_shader_image_desc(struct si_context *ctx, const struct pipe_i
bool
uses_dcc
=
vi_dcc_enabled
(
tex
,
level
);
unsigned
access
=
view
->
access
;
if
(
uses_dcc
&&
screen
->
always_allow_dcc_stores
)
if
(
uses_dcc
&&
screen
->
always_allow_dcc_stores
&&
!
(
access
&
SI_IMAGE_ACCESS_DCC_OFF
)
)
access
|=
SI_IMAGE_ACCESS_ALLOW_DCC_STORE
;
assert
(
!
tex
->
is_depth
);
...
...
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