summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-05 14:40:24 +0200
committerLioncash <mathew1800@gmail.com>2019-10-05 15:14:26 +0200
commit43503a69bf730125b380601a919e81ca09afeb74 (patch)
tree8722651e27ff03e158042e7358f4f1e59993b363 /src/video_core/shader
parentvideo_core/expr: Supply operator!= along with operator== (diff)
downloadyuzu-43503a69bf730125b380601a919e81ca09afeb74.tar
yuzu-43503a69bf730125b380601a919e81ca09afeb74.tar.gz
yuzu-43503a69bf730125b380601a919e81ca09afeb74.tar.bz2
yuzu-43503a69bf730125b380601a919e81ca09afeb74.tar.lz
yuzu-43503a69bf730125b380601a919e81ca09afeb74.tar.xz
yuzu-43503a69bf730125b380601a919e81ca09afeb74.tar.zst
yuzu-43503a69bf730125b380601a919e81ca09afeb74.zip
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/ast.h14
-rw-r--r--src/video_core/shader/expr.h6
2 files changed, 10 insertions, 10 deletions
diff --git a/src/video_core/shader/ast.h b/src/video_core/shader/ast.h
index aad35c12e..6d2dc0895 100644
--- a/src/video_core/shader/ast.h
+++ b/src/video_core/shader/ast.h
@@ -18,17 +18,17 @@
namespace VideoCommon::Shader {
class ASTBase;
-class ASTProgram;
-class ASTIfThen;
-class ASTIfElse;
-class ASTBlockEncoded;
class ASTBlockDecoded;
-class ASTVarSet;
+class ASTBlockEncoded;
+class ASTBreak;
+class ASTDoWhile;
class ASTGoto;
+class ASTIfElse;
+class ASTIfThen;
class ASTLabel;
-class ASTDoWhile;
+class ASTProgram;
class ASTReturn;
-class ASTBreak;
+class ASTVarSet;
using ASTData = std::variant<ASTProgram, ASTIfThen, ASTIfElse, ASTBlockEncoded, ASTBlockDecoded,
ASTVarSet, ASTGoto, ASTLabel, ASTDoWhile, ASTReturn, ASTBreak>;
diff --git a/src/video_core/shader/expr.h b/src/video_core/shader/expr.h
index 45695c0ed..d3dcd00ec 100644
--- a/src/video_core/shader/expr.h
+++ b/src/video_core/shader/expr.h
@@ -15,12 +15,12 @@ using Tegra::Shader::ConditionCode;
using Tegra::Shader::Pred;
class ExprAnd;
-class ExprOr;
+class ExprBoolean;
+class ExprCondCode;
class ExprNot;
+class ExprOr;
class ExprPredicate;
-class ExprCondCode;
class ExprVar;
-class ExprBoolean;
using ExprData =
std::variant<ExprVar, ExprCondCode, ExprPredicate, ExprNot, ExprOr, ExprAnd, ExprBoolean>;