mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 08:59:03 -06: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:
		@@ -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);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user