aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-07-23 17:46:38 -0400
committerMarek Olšák <[email protected]>2019-07-30 22:06:23 -0400
commit34dc6ed2a59040f04648eadbffeb1522587d00f3 (patch)
tree4a2522c4b01062dc885540738c0b4134102156a2 /src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c
parent17021efc7421495ad189b82a26dd651c9a98ccb4 (diff)
radeonsi/gfx10: disable DCC image stores
Uncompressed image stores are usually faster. Also, the driver didn't set WRITE_COMPRESS_ENABLE, so I don't know what the hw did for image stores.
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c b/src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c
index 2707d5fc891..6181332ec01 100644
--- a/src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c
+++ b/src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c
@@ -196,8 +196,7 @@ LLVMValueRef si_load_image_desc(struct si_shader_context *ctx,
else
rsrc = ac_build_load_to_sgpr(&ctx->ac, list, index);
- if (ctx->ac.chip_class <= GFX9 &&
- desc_type == AC_DESC_IMAGE && uses_store)
+ if (desc_type == AC_DESC_IMAGE && uses_store)
rsrc = force_dcc_off(ctx, rsrc);
return rsrc;
}