From 28d1e73d2f1eb5d77568303050d254fd3b4df853 Mon Sep 17 00:00:00 2001 From: wwylele Date: Thu, 1 Jun 2017 16:56:46 +0300 Subject: pica/rasterizer: implement/stub texture wrap mode 4-7 --- src/video_core/regs_texturing.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/video_core/regs_texturing.h') diff --git a/src/video_core/regs_texturing.h b/src/video_core/regs_texturing.h index e4038b41b..2c654d5c8 100644 --- a/src/video_core/regs_texturing.h +++ b/src/video_core/regs_texturing.h @@ -30,10 +30,10 @@ struct TexturingRegs { Repeat = 2, MirroredRepeat = 3, // Mode 4-7 produces some weird result and may be just invalid: - // 4: Positive coord: clamp to edge; negative coord: repeat - // 5: Positive coord: clamp to border; negative coord: repeat - // 6: Repeat - // 7: Repeat + ClampToEdge2 = 4, // Positive coord: clamp to edge; negative coord: repeat + ClampToBorder2 = 5, // Positive coord: clamp to border; negative coord: repeat + Repeat2 = 6, // Same as Repeat + Repeat3 = 7, // Same as Repeat }; enum TextureFilter : u32 { -- cgit v1.2.3