mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
Merge pull request #3516 from makigumo/patch-3
vk_shader_decompiler: fix linux build
This commit is contained in:
commit
d91a880f11
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue