mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-23 14:05:38 +00:00
vk_shader_decompiler: fix linux build
This commit is contained in:
parent
4dfd5c84ea
commit
f91046bf8d
|
@ -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