mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
radeonsi: use 32_AR for alpha-to-coverage without a color buffer
This avoids the fp16 packing instructions. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
f1f0158837
commit
933e3c4145
1 changed files with 1 additions and 1 deletions
|
|
@ -624,7 +624,7 @@ static inline void si_shader_selector_key(struct pipe_context *ctx,
|
|||
*/
|
||||
if (!(key->ps.spi_shader_col_format & 0xf) &&
|
||||
blend && blend->alpha_to_coverage)
|
||||
key->ps.spi_shader_col_format |= V_028710_SPI_SHADER_FP16_ABGR;
|
||||
key->ps.spi_shader_col_format |= V_028710_SPI_SHADER_32_AR;
|
||||
|
||||
if (rs) {
|
||||
bool is_poly = (sctx->current_rast_prim >= PIPE_PRIM_TRIANGLES &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue