diff options
author | Lioncash <mathew1800@gmail.com> | 2019-07-16 17:35:33 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-07-19 03:03:29 +0200 |
commit | 47df844338a6ad59189cad060cbeced1bc306e73 (patch) | |
tree | 3c4aaf7aa4a8b48136d245b4f4d5124cb4a90f88 /src/video_core/shader/control_flow.cpp | |
parent | video_core/control_flow: Place all internally linked types/functions within an anonymous namespace (diff) | |
download | yuzu-47df844338a6ad59189cad060cbeced1bc306e73.tar yuzu-47df844338a6ad59189cad060cbeced1bc306e73.tar.gz yuzu-47df844338a6ad59189cad060cbeced1bc306e73.tar.bz2 yuzu-47df844338a6ad59189cad060cbeced1bc306e73.tar.lz yuzu-47df844338a6ad59189cad060cbeced1bc306e73.tar.xz yuzu-47df844338a6ad59189cad060cbeced1bc306e73.tar.zst yuzu-47df844338a6ad59189cad060cbeced1bc306e73.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 440729258..20f9a6480 100644 --- a/src/video_core/shader/control_flow.cpp +++ b/src/video_core/shader/control_flow.cpp @@ -413,8 +413,8 @@ bool TryQuery(CFGRebuildState& state) { } } // Anonymous namespace -std::optional<ShaderCharacteristics> ScanFlow(const ProgramCode& program_code, u32 program_size, - u32 start_address) { +std::optional<ShaderCharacteristics> ScanFlow(const ProgramCode& program_code, + std::size_t program_size, u32 start_address) { CFGRebuildState state{program_code, program_size, start_address}; // Inspect Code and generate blocks state.labels.clear(); |