From 43503a69bf730125b380601a919e81ca09afeb74 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 5 Oct 2019 08:40:24 -0400 Subject: [PATCH] video_core/{ast, expr}: Organize forward declaration Keeps them alphabetically sorted for readability. --- src/video_core/shader/ast.h | 18 +++++++++--------- src/video_core/shader/expr.h | 10 +++++----- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/video_core/shader/ast.h b/src/video_core/shader/ast.h index 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 ASTGoto; -class ASTLabel; -class ASTDoWhile; -class ASTReturn; +class ASTBlockEncoded; class ASTBreak; +class ASTDoWhile; +class ASTGoto; +class ASTIfElse; +class ASTIfThen; +class ASTLabel; +class ASTProgram; +class ASTReturn; +class ASTVarSet; using ASTData = std::variant; diff --git a/src/video_core/shader/expr.h b/src/video_core/shader/expr.h index 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 ExprNot; -class ExprPredicate; -class ExprCondCode; -class ExprVar; class ExprBoolean; +class ExprCondCode; +class ExprNot; +class ExprOr; +class ExprPredicate; +class ExprVar; using ExprData = std::variant;