summaryrefslogtreecommitdiffstats
path: root/src/video_core/pica.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-07-21 23:26:09 +0200
committerSubv <subv2112@gmail.com>2015-07-21 23:26:09 +0200
commit009e34f08af52478148984bbf740784f3b068151 (patch)
treec5db9644a4a0cc70a4300c8d1370b9d2c9f0add1 /src/video_core/pica.h
parentMerge pull request #939 from Subv/queryprocmem (diff)
downloadyuzu-009e34f08af52478148984bbf740784f3b068151.tar
yuzu-009e34f08af52478148984bbf740784f3b068151.tar.gz
yuzu-009e34f08af52478148984bbf740784f3b068151.tar.bz2
yuzu-009e34f08af52478148984bbf740784f3b068151.tar.lz
yuzu-009e34f08af52478148984bbf740784f3b068151.tar.xz
yuzu-009e34f08af52478148984bbf740784f3b068151.tar.zst
yuzu-009e34f08af52478148984bbf740784f3b068151.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/pica.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index 628e73213..6359471c7 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -119,6 +119,11 @@ struct Regs {
MirroredRepeat = 3,
};
+ enum TextureFilter : u32 {
+ Nearest = 0,
+ Linear = 1
+ };
+
union {
BitField< 0, 8, u32> r;
BitField< 8, 8, u32> g;
@@ -132,6 +137,8 @@ struct Regs {
};
union {
+ BitField< 1, 1, TextureFilter> mag_filter;
+ BitField< 2, 1, TextureFilter> min_filter;
BitField< 8, 2, WrapMode> wrap_t;
BitField<12, 2, WrapMode> wrap_s;
};