mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-27 11:40:05 +00:00
video_core/control_flow: Place all internally linked types/functions within an anonymous namespace
Previously, quite a few functions were being linked with external linkage.
This commit is contained in:
parent
1109db86b7
commit
3df9558593
@ -15,7 +15,7 @@
|
|||||||
#include "video_core/shader/shader_ir.h"
|
#include "video_core/shader/shader_ir.h"
|
||||||
|
|
||||||
namespace VideoCommon::Shader {
|
namespace VideoCommon::Shader {
|
||||||
|
namespace {
|
||||||
using Tegra::Shader::Instruction;
|
using Tegra::Shader::Instruction;
|
||||||
using Tegra::Shader::OpCode;
|
using Tegra::Shader::OpCode;
|
||||||
|
|
||||||
@ -411,6 +411,7 @@ bool TryQuery(CFGRebuildState& state) {
|
|||||||
state.queries.push_back(conditional_query);
|
state.queries.push_back(conditional_query);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
} // Anonymous namespace
|
||||||
|
|
||||||
std::optional<ShaderCharacteristics> ScanFlow(const ProgramCode& program_code, u32 program_size,
|
std::optional<ShaderCharacteristics> ScanFlow(const ProgramCode& program_code, u32 program_size,
|
||||||
u32 start_address) {
|
u32 start_address) {
|
||||||
|
Loading…
Reference in New Issue
Block a user