aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/decode.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-10-17 10:35:16 -0400
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-26 15:38:30 -0400
commitab86995cb9fdb80d39c927899bc70cbb2b6a3f06 (patch)
treefeef5da87a406bc2e83326adbbf59a54772a34d2 /src/video_core/shader/decode.cpp
parent094fa9ec6cea1d0fca9722ceb8230241dc1e5338 (diff)
Shader_IR: Address Feedback.
Diffstat (limited to 'src/video_core/shader/decode.cpp')
-rw-r--r--src/video_core/shader/decode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode.cpp b/src/video_core/shader/decode.cpp
index e1afa45820..21fb9cb83f 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)});