Module: Mesa
Branch: main
Commit: dcbca3e3b3f72297dc237bc62b181bb43592e0f5
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dcbca3e3b3f72297dc237bc62b181bb43592e0f5

Author: Erik Faye-Lund <[email protected]>
Date:   Mon Jun 26 11:57:39 2023 +0200

tgsi: use enum for interpolate-mode

Reviewed-by: Yonggang Luo <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24002>

---

 src/gallium/auxiliary/tgsi/tgsi_two_side.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_two_side.c 
b/src/gallium/auxiliary/tgsi/tgsi_two_side.c
index 1077c785200..d4c8bf54f29 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_two_side.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_two_side.c
@@ -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 */
 };

Reply via email to