diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-17 16:35:16 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-10-26 21:38:30 +0200 |
commit | be856a38d6b0c7c90c861baf3204ac48a108f3d2 (patch) | |
tree | feef5da87a406bc2e83326adbbf59a54772a34d2 /src/video_core/shader/decode.cpp | |
parent | Shader_IR: Clang format (diff) | |
download | yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.tar yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.tar.gz yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.tar.bz2 yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.tar.lz yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.tar.xz yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.tar.zst yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/decode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode.cpp b/src/video_core/shader/decode.cpp index e1afa4582..21fb9cb83 100644 --- a/src/video_core/shader/decode.cpp +++ b/src/video_core/shader/decode.cpp @@ -155,7 +155,7 @@ void ShaderIR::Decode() { [[fallthrough]]; case CompileDepth::BruteForce: { coverage_begin = main_offset; - const u32 shader_end = program_code.size(); + const std::size_t shader_end = program_code.size(); coverage_end = shader_end; for (u32 label = main_offset; label < shader_end; label++) { basic_blocks.insert({label, DecodeRange(label, label + 1)}); |