2021-02-11 19:39:06 +00:00
|
|
|
// Copyright 2021 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-03-14 06:41:05 +00:00
|
|
|
#include "shader_recompiler/environment.h"
|
2021-05-14 03:40:54 +00:00
|
|
|
#include "shader_recompiler/frontend/ir/abstract_syntax_list.h"
|
2021-02-11 19:39:06 +00:00
|
|
|
#include "shader_recompiler/frontend/ir/basic_block.h"
|
2021-04-21 03:35:47 +00:00
|
|
|
#include "shader_recompiler/frontend/ir/value.h"
|
2021-03-14 06:41:05 +00:00
|
|
|
#include "shader_recompiler/frontend/maxwell/control_flow.h"
|
2021-02-11 19:39:06 +00:00
|
|
|
#include "shader_recompiler/object_pool.h"
|
|
|
|
|
2021-03-14 06:41:05 +00:00
|
|
|
namespace Shader::Maxwell {
|
2021-02-11 19:39:06 +00:00
|
|
|
|
2021-05-14 03:40:54 +00:00
|
|
|
[[nodiscard]] IR::AbstractSyntaxList BuildASL(ObjectPool<IR::Inst>& inst_pool,
|
|
|
|
ObjectPool<IR::Block>& block_pool, Environment& env,
|
|
|
|
Flow::CFG& cfg);
|
2021-02-11 19:39:06 +00:00
|
|
|
|
2021-03-14 06:41:05 +00:00
|
|
|
} // namespace Shader::Maxwell
|