2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

vk_shader_decompiler: Don't assert for void returns

Atomic instructions can be used without returning anything and this is
valid code. Remove the assert.
This commit is contained in:
ReinUsesLisp 2020-05-15 01:56:58 -03:00
parent cf4ee279c6
commit 434856c636

View file

@ -1071,8 +1071,7 @@ private:
void VisitBasicBlock(const NodeBlock& bb) {
for (const auto& node : bb) {
[[maybe_unused]] const Type type = Visit(node).type;
ASSERT(type == Type::Void);
Visit(node);
}
}