Merge pull request #3516 from makigumo/patch-3

vk_shader_decompiler: fix linux build
master
Rodrigo Locatti 2020-03-15 18:43:40 +07:00 committed by GitHub
commit d91a880f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -837,7 +837,7 @@ private:
Decorate(id, spv::Decoration::Offset, static_cast<u32>(tfb->offset)); Decorate(id, spv::Decoration::Offset, static_cast<u32>(tfb->offset));
} }
element += static_cast<u8>(num_components); element = static_cast<u8>(static_cast<std::size_t>(element) + num_components);
} }
} }