mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-12 22:00:04 +00:00
Merge pull request #2743 from wwylele/wrap-fix
pica/rasterizer: implement/stub texture wrap mode 4-7
This commit is contained in:
commit
5fe5ccac42
4 changed files with 48 additions and 12 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue