summaryrefslogtreecommitdiff
path: root/src/video_core/pica.h
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2015-01-26 11:52:15 +0100
committerTony Wasserka <neobrainx@gmail.com>2015-01-26 11:52:15 +0100
commit0cf3c40aa9f57a425c3cceba9a9a02986226bb21 (patch)
tree464bf8822bd09f9cc2e6a9d23e95cacf882459d7 /src/video_core/pica.h
parentad666ac47a03f63aa7c2b5ecfe9a7d76c6a033d2 (diff)
parentff83d23ed5a2b204a6768e853329204cb1dd1bd3 (diff)
Merge pull request #506 from bunnei/depth-functions
GPU: Implement the remaining depth testing functions.
Diffstat (limited to 'src/video_core/pica.h')
-rw-r--r--src/video_core/pica.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index de1ce05b6..15850ba17 100644
--- a/src/video_core/pica.h
+++ b/src/video_core/pica.h
@@ -311,9 +311,14 @@ struct Regs {
struct {
enum DepthFunc : u32 {
- Always = 1,
- LessThan = 4,
- GreaterThan = 6,
+ Never = 0,
+ Always = 1,
+ Equal = 2,
+ NotEqual = 3,
+ LessThan = 4,
+ LessThanOrEqual = 5,
+ GreaterThan = 6,
+ GreaterThanOrEqual = 7,
};
union {