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:
committed by
Marge Bot
parent
e1345c5295
commit
7d1cc5ec3d
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user