tgsi: use enum for interpolate-mode

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24002>
This commit is contained in:
Erik Faye-Lund 2023-06-26 11:57:39 +02:00 committed by Marge Bot
parent 733ed06e94
commit dcbca3e3b3

View file

@ -54,7 +54,7 @@ struct two_side_transform_context
uint num_inputs;
uint face_input; /**< index of the FACE input */
uint front_color_input[2]; /**< INPUT regs */
uint front_color_interp[2];/**< TGSI_INTERPOLATE_x */
enum tgsi_interpolate_mode front_color_interp[2];/**< TGSI_INTERPOLATE_x */
uint back_color_input[2]; /**< INPUT regs */
uint new_colors[2]; /**< TEMP regs */
};