VERY experimental Nintendo Switch 2 emulator
C++
video_core/{ast, expr}: Organize forward declaration
Lioncash4d48fc529a2f
diff --git a/src/video_core/shader/ast.h b/src/video_core/shader/ast.hindex aad35c12ea..6d2dc08955 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.hindex 45695c0edc..d3dcd00ec9 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>;