aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/maxwell/structured_control_flow.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-09-01 17:36:26 -0700
committerGitHub <noreply@github.com>2021-09-01 17:36:26 -0700
commitb2572a56d3ab3c327f766d718bbdd16be6bc1635 (patch)
treec02a5e36766a4f94338c015f7c560e6bca63656f /src/shader_recompiler/frontend/maxwell/structured_control_flow.h
parent25444041d0cb71ce861e2df8a468901b39dfe266 (diff)
parent907dfbea71bbfd92290d1eff1d2f0f7a33b32dc1 (diff)
Merge pull request #6900 from ameerj/attr-reorder
structured_control_flow: Add DemoteCombinationPass
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/structured_control_flow.h')
-rw-r--r--src/shader_recompiler/frontend/maxwell/structured_control_flow.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/structured_control_flow.h b/src/shader_recompiler/frontend/maxwell/structured_control_flow.h
index 88b083649..e38158da3 100644
--- a/src/shader_recompiler/frontend/maxwell/structured_control_flow.h
+++ b/src/shader_recompiler/frontend/maxwell/structured_control_flow.h
@@ -11,10 +11,13 @@
#include "shader_recompiler/frontend/maxwell/control_flow.h"
#include "shader_recompiler/object_pool.h"
-namespace Shader::Maxwell {
+namespace Shader {
+struct HostTranslateInfo;
+namespace Maxwell {
[[nodiscard]] IR::AbstractSyntaxList BuildASL(ObjectPool<IR::Inst>& inst_pool,
ObjectPool<IR::Block>& block_pool, Environment& env,
- Flow::CFG& cfg);
+ Flow::CFG& cfg, const HostTranslateInfo& host_info);
-} // namespace Shader::Maxwell
+} // namespace Maxwell
+} // namespace Shader