mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
aco/gfx10: Fix PS exports for SPI_SHADER_32_AR.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
This commit is contained in:
parent
1749953ea3
commit
f380398f8f
1 changed files with 7 additions and 1 deletions
|
|
@ -2524,7 +2524,13 @@ void visit_store_fs_output(isel_context *ctx, nir_intrinsic_instr *instr)
|
|||
break;
|
||||
|
||||
case V_028714_SPI_SHADER_32_AR:
|
||||
enabled_channels = 0x9;
|
||||
if (ctx->options->chip_class >= GFX10) {
|
||||
/* Special case: on GFX10, the outputs are different for 32_AR */
|
||||
enabled_channels = 0x3;
|
||||
values[1] = values[3];
|
||||
} else {
|
||||
enabled_channels = 0x9;
|
||||
}
|
||||
break;
|
||||
|
||||
case V_028714_SPI_SHADER_FP16_ABGR:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue