diff options
author | Tony Wasserka <neobrainx@gmail.com> | 2015-07-12 03:19:46 +0200 |
---|---|---|
committer | Tony Wasserka <neobrainx@gmail.com> | 2015-07-12 03:19:46 +0200 |
commit | ae7120f5d925da39aea9b66750c148428eca1298 (patch) | |
tree | 50f53e790adcf741657ad1ff09997ec43aeeccf3 /src/video_core/pica.h | |
parent | Merge pull request #915 from citra-emu/travis-container (diff) | |
parent | Added GL_CLAMP_TO_BORDER support (diff) | |
download | yuzu-ae7120f5d925da39aea9b66750c148428eca1298.tar yuzu-ae7120f5d925da39aea9b66750c148428eca1298.tar.gz yuzu-ae7120f5d925da39aea9b66750c148428eca1298.tar.bz2 yuzu-ae7120f5d925da39aea9b66750c148428eca1298.tar.lz yuzu-ae7120f5d925da39aea9b66750c148428eca1298.tar.xz yuzu-ae7120f5d925da39aea9b66750c148428eca1298.tar.zst yuzu-ae7120f5d925da39aea9b66750c148428eca1298.zip |
Diffstat (limited to 'src/video_core/pica.h')
-rw-r--r-- | src/video_core/pica.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h index be8ff7590..feb20214a 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -114,11 +114,17 @@ struct Regs { struct TextureConfig { enum WrapMode : u32 { ClampToEdge = 0, + ClampToBorder = 1, Repeat = 2, MirroredRepeat = 3, }; - INSERT_PADDING_WORDS(0x1); + union { + BitField< 0, 8, u32> r; + BitField< 8, 8, u32> g; + BitField<16, 8, u32> b; + BitField<24, 8, u32> a; + } border_color; union { BitField< 0, 16, u32> height; |