From: Samuel Pitoiset Date: Tue, 25 Jun 2019 14:18:40 +0000 (+0200) Subject: radv/gfx10: set the DCC constant encoding flag X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0b6e27bca5ea4e963164bf0868f2453911660cb;p=mesa.git radv/gfx10: set the DCC constant encoding flag Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index f35d6ec4c32..2d5e5f511e0 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -376,7 +376,8 @@ radv_physical_device_init(struct radv_physical_device *device, (device->rad_info.chip_class >= GFX8 && device->rad_info.me_fw_feature >= 41); - device->has_dcc_constant_encode = device->rad_info.family == CHIP_RAVEN2; + device->has_dcc_constant_encode = device->rad_info.family == CHIP_RAVEN2 || + device->rad_info.chip_class >= GFX10; device->use_shader_ballot = device->instance->perftest_flags & RADV_PERFTEST_SHADER_BALLOT;