From 3df9558593d41b8c9bda905dd745a67ff00db033 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 16 Jul 2019 11:32:35 -0400 Subject: 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. --- src/video_core/shader/control_flow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/video_core') diff --git a/src/video_core/shader/control_flow.cpp b/src/video_core/shader/control_flow.cpp index fdcc970ff..440729258 100644 --- a/src/video_core/shader/control_flow.cpp +++ b/src/video_core/shader/control_flow.cpp @@ -15,7 +15,7 @@ #include "video_core/shader/shader_ir.h" namespace VideoCommon::Shader { - +namespace { using Tegra::Shader::Instruction; using Tegra::Shader::OpCode; @@ -411,6 +411,7 @@ bool TryQuery(CFGRebuildState& state) { state.queries.push_back(conditional_query); return true; } +} // Anonymous namespace std::optional ScanFlow(const ProgramCode& program_code, u32 program_size, u32 start_address) { -- cgit v1.2.3