summaryrefslogtreecommitdiffstats
path: root/src/video_core/pica.h
diff options
context:
space:
mode:
authorLectem <lectem@gmail.com>2015-07-07 23:36:06 +0200
committerLectem <lectem@gmail.com>2015-07-09 22:23:26 +0200
commit58d1c6398e555f95bc6da60467c3f49183eb18df (patch)
treee8e371e16943c9501594bf8ada6bad8e7c72012e /src/video_core/pica.h
parentMerge pull request #797 from linkmauve/blended-downscaling (diff)
downloadyuzu-58d1c6398e555f95bc6da60467c3f49183eb18df.tar
yuzu-58d1c6398e555f95bc6da60467c3f49183eb18df.tar.gz
yuzu-58d1c6398e555f95bc6da60467c3f49183eb18df.tar.bz2
yuzu-58d1c6398e555f95bc6da60467c3f49183eb18df.tar.lz
yuzu-58d1c6398e555f95bc6da60467c3f49183eb18df.tar.xz
yuzu-58d1c6398e555f95bc6da60467c3f49183eb18df.tar.zst
yuzu-58d1c6398e555f95bc6da60467c3f49183eb18df.zip
Diffstat (limited to 'src/video_core/pica.h')
-rw-r--r--src/video_core/pica.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index 9628a7589..3a12665eb 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;