Commit e86c9235 authored by Joshua Ashton's avatar Joshua Ashton 🐸
Browse files

radeonsi: Don't use DCC stores when ACCESS_DCC_OFF is set



Signed-off-by: Joshua Ashton's avatarJoshua Ashton <joshua@froggi.es>
parent eb8ec12b
Pipeline #399106 waiting for manual action with stages
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment