diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-16 00:05:50 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-16 01:10:28 +0200 |
commit | 77b4916b3311f97a39e3111976dcffc33ff96a1c (patch) | |
tree | 48432e50531e55601bb82b48216f3d1dc6f1fb6b /src/video_core/shader/control_flow.cpp | |
parent | maxwell_3d: Silence truncation warnings (diff) | |
download | yuzu-77b4916b3311f97a39e3111976dcffc33ff96a1c.tar yuzu-77b4916b3311f97a39e3111976dcffc33ff96a1c.tar.gz yuzu-77b4916b3311f97a39e3111976dcffc33ff96a1c.tar.bz2 yuzu-77b4916b3311f97a39e3111976dcffc33ff96a1c.tar.lz yuzu-77b4916b3311f97a39e3111976dcffc33ff96a1c.tar.xz yuzu-77b4916b3311f97a39e3111976dcffc33ff96a1c.tar.zst yuzu-77b4916b3311f97a39e3111976dcffc33ff96a1c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/control_flow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/control_flow.cpp b/src/video_core/shader/control_flow.cpp index 268d1aed0..9d21f45de 100644 --- a/src/video_core/shader/control_flow.cpp +++ b/src/video_core/shader/control_flow.cpp @@ -473,8 +473,8 @@ void DecompileShader(CFGRebuildState& state) { state.manager->Decompile(); } -std::unique_ptr<ShaderCharacteristics> ScanFlow(const ProgramCode& program_code, u32 program_size, - u32 start_address, +std::unique_ptr<ShaderCharacteristics> ScanFlow(const ProgramCode& program_code, + std::size_t program_size, u32 start_address, const CompilerSettings& settings) { auto result_out = std::make_unique<ShaderCharacteristics>(); if (settings.depth == CompileDepth::BruteForce) { |