diff options
| author | 2019-10-05 08:40:24 -0400 | |
|---|---|---|
| committer | 2019-10-05 09:14:26 -0400 | |
| commit | 43503a69bf730125b380601a919e81ca09afeb74 (patch) | |
| tree | 8722651e27ff03e158042e7358f4f1e59993b363 /src/video_core | |
| parent | video_core/expr: Supply operator!= along with operator== (diff) | |
| download | yuzu-43503a69bf730125b380601a919e81ca09afeb74.tar.gz yuzu-43503a69bf730125b380601a919e81ca09afeb74.tar.xz yuzu-43503a69bf730125b380601a919e81ca09afeb74.zip | |
video_core/{ast, expr}: Organize forward declaration
Keeps them alphabetically sorted for readability.
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/shader/ast.h | 14 | ||||
| -rw-r--r-- | src/video_core/shader/expr.h | 6 |
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 @@ | |||
| 18 | namespace VideoCommon::Shader { | 18 | namespace VideoCommon::Shader { |
| 19 | 19 | ||
| 20 | class ASTBase; | 20 | class ASTBase; |
| 21 | class ASTProgram; | ||
| 22 | class ASTIfThen; | ||
| 23 | class ASTIfElse; | ||
| 24 | class ASTBlockEncoded; | ||
| 25 | class ASTBlockDecoded; | 21 | class ASTBlockDecoded; |
| 26 | class ASTVarSet; | 22 | class ASTBlockEncoded; |
| 23 | class ASTBreak; | ||
| 24 | class ASTDoWhile; | ||
| 27 | class ASTGoto; | 25 | class ASTGoto; |
| 26 | class ASTIfElse; | ||
| 27 | class ASTIfThen; | ||
| 28 | class ASTLabel; | 28 | class ASTLabel; |
| 29 | class ASTDoWhile; | 29 | class ASTProgram; |
| 30 | class ASTReturn; | 30 | class ASTReturn; |
| 31 | class ASTBreak; | 31 | class ASTVarSet; |
| 32 | 32 | ||
| 33 | using ASTData = std::variant<ASTProgram, ASTIfThen, ASTIfElse, ASTBlockEncoded, ASTBlockDecoded, | 33 | using ASTData = std::variant<ASTProgram, ASTIfThen, ASTIfElse, ASTBlockEncoded, ASTBlockDecoded, |
| 34 | ASTVarSet, ASTGoto, ASTLabel, ASTDoWhile, ASTReturn, ASTBreak>; | 34 | 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; | |||
| 15 | using Tegra::Shader::Pred; | 15 | using Tegra::Shader::Pred; |
| 16 | 16 | ||
| 17 | class ExprAnd; | 17 | class ExprAnd; |
| 18 | class ExprOr; | 18 | class ExprBoolean; |
| 19 | class ExprCondCode; | ||
| 19 | class ExprNot; | 20 | class ExprNot; |
| 21 | class ExprOr; | ||
| 20 | class ExprPredicate; | 22 | class ExprPredicate; |
| 21 | class ExprCondCode; | ||
| 22 | class ExprVar; | 23 | class ExprVar; |
| 23 | class ExprBoolean; | ||
| 24 | 24 | ||
| 25 | using ExprData = | 25 | using ExprData = |
| 26 | std::variant<ExprVar, ExprCondCode, ExprPredicate, ExprNot, ExprOr, ExprAnd, ExprBoolean>; | 26 | std::variant<ExprVar, ExprCondCode, ExprPredicate, ExprNot, ExprOr, ExprAnd, ExprBoolean>; |