mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
radeonsi/gfx10: fix PS exports for SPI_SHADER_32_AR
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
4bdf44724f
commit
7f71579064
1 changed files with 9 additions and 3 deletions
|
|
@ -2450,9 +2450,15 @@ static void si_llvm_init_export_args(struct si_shader_context *ctx,
|
|||
break;
|
||||
|
||||
case V_028714_SPI_SHADER_32_AR:
|
||||
args->enabled_channels = 0x9; /* writemask */
|
||||
args->out[0] = values[0];
|
||||
args->out[3] = values[3];
|
||||
if (ctx->screen->info.chip_class >= GFX10) {
|
||||
args->enabled_channels = 0x3; /* writemask */
|
||||
args->out[0] = values[0];
|
||||
args->out[1] = values[3];
|
||||
} else {
|
||||
args->enabled_channels = 0x9; /* writemask */
|
||||
args->out[0] = values[0];
|
||||
args->out[3] = values[3];
|
||||
}
|
||||
break;
|
||||
|
||||
case V_028714_SPI_SHADER_FP16_ABGR:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue