aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/program.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-03-14 03:41:05 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:23 -0400
commit71f96fa6366dc6dd306a953bca1b958fb32bc55a (patch)
tree12e13f9502e4b9510446c967a831e5d4bacb729e /src/shader_recompiler/frontend/ir/program.h
parentb9f7bf4472b8e0a5aad1aec3a5ff5bb56470bfff (diff)
shader: Implement CAL inlining function calls
Diffstat (limited to 'src/shader_recompiler/frontend/ir/program.h')
-rw-r--r--src/shader_recompiler/frontend/ir/program.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/ir/program.h b/src/shader_recompiler/frontend/ir/program.h
index 98aab2dc68..bce8b19b3a 100644
--- a/src/shader_recompiler/frontend/ir/program.h
+++ b/src/shader_recompiler/frontend/ir/program.h
@@ -8,13 +8,14 @@
#include <boost/container/small_vector.hpp>
-#include "shader_recompiler/frontend/ir/function.h"
+#include "shader_recompiler/frontend/ir/basic_block.h"
#include "shader_recompiler/shader_info.h"
namespace Shader::IR {
struct Program {
- boost::container::small_vector<Function, 1> functions;
+ BlockList blocks;
+ BlockList post_order_blocks;
Info info;
};