summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-16 17:32:35 +0200
committerLioncash <mathew1800@gmail.com>2019-07-19 03:03:29 +0200
commit3df9558593d41b8c9bda905dd745a67ff00db033 (patch)
treef2393a96e23b4ce25a6ecd6011dd2f87f34e6f00 /src
parentvideo_core/shader/decode: Prevent sign-conversion warnings (diff)
downloadyuzu-3df9558593d41b8c9bda905dd745a67ff00db033.tar
yuzu-3df9558593d41b8c9bda905dd745a67ff00db033.tar.gz
yuzu-3df9558593d41b8c9bda905dd745a67ff00db033.tar.bz2
yuzu-3df9558593d41b8c9bda905dd745a67ff00db033.tar.lz
yuzu-3df9558593d41b8c9bda905dd745a67ff00db033.tar.xz
yuzu-3df9558593d41b8c9bda905dd745a67ff00db033.tar.zst
yuzu-3df9558593d41b8c9bda905dd745a67ff00db033.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/shader/control_flow.cpp3
1 files changed, 2 insertions, 1 deletions
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<ShaderCharacteristics> ScanFlow(const ProgramCode& program_code, u32 program_size,
u32 start_address) {