mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 18:35:45 +00: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:
parent
3b781db425
commit
262aea9b19
1 changed files with 1 additions and 2 deletions
|
@ -1071,8 +1071,7 @@ private:
|
||||||
|
|
||||||
void VisitBasicBlock(const NodeBlock& bb) {
|
void VisitBasicBlock(const NodeBlock& bb) {
|
||||||
for (const auto& node : bb) {
|
for (const auto& node : bb) {
|
||||||
[[maybe_unused]] const Type type = Visit(node).type;
|
Visit(node);
|
||||||
ASSERT(type == Type::Void);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue