[Mesa-dev] [PATCH 9/9] radv: Enable DCC with transfers.

Dieter Nützel Dieter at nuetzel-hh.de
Fri Dec 29 05:05:41 UTC 2017


For the series:

Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>

on RX580 with

'smoketest' somewhat faster
'F1 2017' little bit slower

BTW You dropped all my tb last time.

Dieter

Am 29.12.2017 03:06, schrieb Bas Nieuwenhuizen:
> Before this DCC was in practice disabled for most games. This
> enables practical DCC use. Expect a 5-10% perf increase on a
> bunch of games on vega @ 4k.
> ---
>  src/amd/vulkan/radv_image.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c
> index 6088928df80..d8cee6f6cba 100644
> --- a/src/amd/vulkan/radv_image.c
> +++ b/src/amd/vulkan/radv_image.c
> @@ -148,8 +148,7 @@ radv_init_surface(struct radv_device *device,
>  		}
>  	}
> 
> -	if ((pCreateInfo->usage & (VK_IMAGE_USAGE_TRANSFER_SRC_BIT |
> -	                           VK_IMAGE_USAGE_STORAGE_BIT)) ||
> +	if ((pCreateInfo->usage & VK_IMAGE_USAGE_STORAGE_BIT) ||
>  	    (pCreateInfo->flags & VK_IMAGE_CREATE_EXTENDED_USAGE_BIT_KHR) ||
>  	    !dcc_compatible_formats ||
>              (pCreateInfo->tiling == VK_IMAGE_TILING_LINEAR) ||


More information about the mesa-dev mailing list