mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	shader/memory: Silence no return value warning
Silences a warning about control paths not all returning a value.
This commit is contained in:
		
							parent
							
								
									825a6e2615
								
							
						
					
					
						commit
						e1bd89e1c2
					
				@ -44,6 +44,9 @@ Node GetAtomOperation(AtomicOp op, bool is_signed, Node memory, Node data) {
 | 
			
		||||
            return OperationCode::AtomicIXor;
 | 
			
		||||
        case AtomicOp::Exch:
 | 
			
		||||
            return OperationCode::AtomicIExchange;
 | 
			
		||||
        default:
 | 
			
		||||
            UNIMPLEMENTED_MSG("op={}", static_cast<int>(op));
 | 
			
		||||
            return OperationCode::AtomicIAdd;
 | 
			
		||||
        }
 | 
			
		||||
    }();
 | 
			
		||||
    return SignedOperation(operation_code, is_signed, std::move(memory), std::move(data));
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user