summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/maxwell/termination_code.h
blob: b0d667942e8ec2c22bdd52bdd54d5a08ca5f1789 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2021 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include <span>

#include "shader_recompiler/frontend/ir/basic_block.h"
#include "shader_recompiler/frontend/maxwell/control_flow.h"

namespace Shader::Maxwell {

void EmitTerminationCode(const Flow::Block& flow_block, std::span<IR::Block* const> block_map);

} // namespace Shader::Maxwell