Shader_IR: Address Feedback.

This commit is contained in:
Fernando Sahmkow 2019-10-17 10:35:16 -04:00 committed by FernandoS27
parent e3afd6595a
commit be856a38d6
9 changed files with 66 additions and 56 deletions

View file

@ -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)});