radv: rename ps_epilog_inputs to colors for PS epilogs

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26231>
This commit is contained in:
Samuel Pitoiset
2023-11-16 17:22:50 +01:00
committed by Marge Bot
parent e1345c5295
commit 7d1cc5ec3d
3 changed files with 3 additions and 3 deletions

View File

@@ -116,7 +116,7 @@ radv_aco_convert_ps_epilog_key(struct aco_ps_epilog_info *aco_info, const struct
ASSIGN_FIELD(color_is_int10);
ASSIGN_FIELD(mrt0_is_dual_src);
memcpy(aco_info->colors, radv_args->ps_epilog_inputs, sizeof(aco_info->colors));
memcpy(aco_info->colors, radv_args->colors, sizeof(aco_info->colors));
aco_info->alpha_func = COMPARE_FUNC_ALWAYS;
}

View File

@@ -832,7 +832,7 @@ radv_declare_ps_epilog_args(const struct radv_device *device, const struct radv_
if (col_format == V_028714_SPI_SHADER_ZERO)
continue;
ac_add_arg(&args->ac, AC_ARG_VGPR, 4, AC_ARG_FLOAT, &args->ps_epilog_inputs[i]);
ac_add_arg(&args->ac, AC_ARG_VGPR, 4, AC_ARG_FLOAT, &args->colors[i]);
}
}

View File

@@ -61,7 +61,7 @@ struct radv_shader_args {
struct ac_arg vs_inputs[MAX_VERTEX_ATTRIBS];
/* PS epilogs */
struct ac_arg ps_epilog_inputs[MAX_RTS];
struct ac_arg colors[MAX_RTS];
/* TCS */
/* # [0:5] = the number of patch control points