summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/expr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/shader/expr.h')
-rw-r--r--src/video_core/shader/expr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/shader/expr.h b/src/video_core/shader/expr.h
index e41d23e93..4e8264367 100644
--- a/src/video_core/shader/expr.h
+++ b/src/video_core/shader/expr.h
@@ -127,6 +127,10 @@ public:
return gpr == b.gpr && value == b.value;
}
+ bool operator!=(const ExprGprEqual& b) const {
+ return !operator==(b);
+ }
+
u32 gpr;
u32 value;
};