vk_shader_decompiler: fix linux build

This commit is contained in:
makigumo 2020-03-15 18:00:14 +01:00 committed by GitHub
parent 4dfd5c84ea
commit f91046bf8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -837,7 +837,7 @@ private:
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);
}
}