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










                                                   
                                          




                                                          
              




                                                              
// 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/function.h"
#include "shader_recompiler/shader_info.h"

namespace Shader::IR {

struct Program {
    boost::container::small_vector<Function, 1> functions;
    Info info;
};

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

} // namespace Shader::IR