Преглед на файлове

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 <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
tags/19.1-branchpoint
Samuel Pitoiset преди 6 години
родител
ревизия
9e787904d0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      src/amd/vulkan/radv_pipeline.c

+ 1
- 1
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

Loading…
Отказ
Запис