diff options
author | Samuel Pitoiset <[email protected]> | 2019-03-01 18:28:02 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-03-04 12:02:01 +0100 |
commit | 9e787904d0a5c0dfde509a03f31f7a0c6f2993c3 (patch) | |
tree | a9b17fd31e20f614d759f4c07eb6a3ae6afa8fbc /src/amd | |
parent | 72981c92ce806d48d1d7955a119abc38968fd2c7 (diff) |
rav: use 32_AR instead of 32_ABGR when alpha coverage is required
This export format is faster. Seems to improve performance in
Wreckfest.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 09363af37e7..55dbe0620a6 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -529,7 +529,7 @@ radv_pipeline_compute_spi_color_formats(struct radv_pipeline *pipeline, * alpha channel of MRT0 when alpha coverage is enabled because * the depth attachment needs it. */ - col_format |= V_028714_SPI_SHADER_32_ABGR; + col_format |= V_028714_SPI_SHADER_32_AR; } /* If the i-th target format is set, all previous target formats must |