This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2021-01-09 06:30:07 +00:00
|
|
|
// 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 {
|
|
|
|
|
2021-02-03 00:07:00 +00:00
|
|
|
/// Emit termination instructions and collect immediate predecessors
|
2021-01-09 06:30:07 +00:00
|
|
|
void EmitTerminationCode(const Flow::Block& flow_block, std::span<IR::Block* const> block_map);
|
|
|
|
|
|
|
|
} // namespace Shader::Maxwell
|