diff options
| author | bunnei <bunneidev@gmail.com> | 2019-10-17 14:02:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-17 14:02:16 -0400 |
| commit | 9fe8072c67f0a99c68b95c69ea19c2334fd0258f (patch) | |
| tree | 8598c0f3a89dc9962c9682fa9899584ae868a86c /src/video_core/shader/control_flow.h | |
| parent | 60c602e4e77abdefedf0fb1c70606723d17988c9 (diff) | |
| parent | 77b4916b3311f97a39e3111976dcffc33ff96a1c (diff) | |
Merge pull request #2980 from lioncash/warn
maxwell_3d: Silence truncation warnings
Diffstat (limited to 'src/video_core/shader/control_flow.h')
| -rw-r--r-- | src/video_core/shader/control_flow.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/control_flow.h b/src/video_core/shader/control_flow.h index 74e54a5c7..37e987d62 100644 --- a/src/video_core/shader/control_flow.h +++ b/src/video_core/shader/control_flow.h @@ -76,8 +76,8 @@ struct ShaderCharacteristics { CompilerSettings settings{}; }; -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); } // namespace VideoCommon::Shader |
