summaryrefslogblamecommitdiffstats
path: root/src/shader_recompiler/frontend/ir/program.h
blob: bce8b19b3aac8fa5b6fc003774a14a3575d453c8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                            
                                                      
                                          



                      

                                
              




                                                              
// Copyright 2021 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include <string>

#include <boost/container/small_vector.hpp>

#include "shader_recompiler/frontend/ir/basic_block.h"
#include "shader_recompiler/shader_info.h"

namespace Shader::IR {

struct Program {
    BlockList blocks;
    BlockList post_order_blocks;
    Info info;
};

[[nodiscard]] std::string DumpProgram(const Program& program);

} // namespace Shader::IR