From b01563d12207fccf3b96ad984b586771f5743688 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Fri, 11 Aug 2023 17:26:42 -0700 Subject: [PATCH] Add GPU_DOT3_RGBA texture combiner function --- libctru/include/3ds/gpu/enums.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libctru/include/3ds/gpu/enums.h b/libctru/include/3ds/gpu/enums.h index 76ac488cf..45f817736 100644 --- a/libctru/include/3ds/gpu/enums.h +++ b/libctru/include/3ds/gpu/enums.h @@ -368,7 +368,8 @@ typedef enum GPU_ADD_SIGNED = 0x03, ///< Signed add. GPU_INTERPOLATE = 0x04, ///< Interpolate. GPU_SUBTRACT = 0x05, ///< Subtract. - GPU_DOT3_RGB = 0x06, ///< Dot3. RGB only. + GPU_DOT3_RGB = 0x06, ///< Dot3. Scalar result is written to RGB only. + GPU_DOT3_RGBA = 0x07, ///< Dot3. Scalar result is written to RGBA. GPU_MULTIPLY_ADD = 0x08, ///< Multiply then add. GPU_ADD_MULTIPLY = 0x09, ///< Add then multiply. } GPU_COMBINEFUNC;