diff options
author | Subv <subv2112@gmail.com> | 2018-07-03 04:06:36 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-07-03 04:06:36 +0200 |
commit | 6e0eba99177e8562e7f4e3ef8709b74a71447a46 (patch) | |
tree | a2981ad4d8cd5ff467ac3f7adae2a41e1da9bb77 /src/video_core/engines | |
parent | GPU: Don't try to parse the depth test function if the depth test is disabled. (diff) | |
download | yuzu-6e0eba99177e8562e7f4e3ef8709b74a71447a46.tar yuzu-6e0eba99177e8562e7f4e3ef8709b74a71447a46.tar.gz yuzu-6e0eba99177e8562e7f4e3ef8709b74a71447a46.tar.bz2 yuzu-6e0eba99177e8562e7f4e3ef8709b74a71447a46.tar.lz yuzu-6e0eba99177e8562e7f4e3ef8709b74a71447a46.tar.xz yuzu-6e0eba99177e8562e7f4e3ef8709b74a71447a46.tar.zst yuzu-6e0eba99177e8562e7f4e3ef8709b74a71447a46.zip |
Diffstat (limited to 'src/video_core/engines')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index ff67f2a58..12aec3549 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -281,14 +281,14 @@ public: }; enum class ComparisonOp : u32 { - Never = 0x200, - Less = 0x201, - Equal = 0x202, - LessEqual = 0x203, - Greater = 0x204, - NotEqual = 0x205, - GreaterEqual = 0x206, - Always = 0x207, + Never = 0, + Less = 1, + Equal = 2, + LessEqual = 3, + Greater = 4, + NotEqual = 5, + GreaterEqual = 6, + Always = 7, }; struct Cull { @@ -475,7 +475,7 @@ public: INSERT_PADDING_WORDS(0x8); - ComparisonOp depth_test_func; + BitField<0, 3, ComparisonOp> depth_test_func; INSERT_PADDING_WORDS(0xB); |