diff options
author | Subv <subv2112@gmail.com> | 2015-07-21 23:26:09 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-07-21 23:26:09 +0200 |
commit | 009e34f08af52478148984bbf740784f3b068151 (patch) | |
tree | c5db9644a4a0cc70a4300c8d1370b9d2c9f0add1 /src/video_core/pica.h | |
parent | Merge pull request #939 from Subv/queryprocmem (diff) | |
download | yuzu-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 'src/video_core/pica.h')
-rw-r--r-- | src/video_core/pica.h | 7 |
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; }; |