mirror of
				https://git.tardis.systems/mirrors/yuzu
				synced 2025-11-03 20:24:43 +01:00 
			
		
		
		
	Merge pull request #3164 from ReinUsesLisp/half-cast-float
gl_shader_decompiler: Fix casts from fp32 to fp16
This commit is contained in:
		
						commit
						31daaa7911
					
				@ -1469,7 +1469,8 @@ private:
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    Expression HCastFloat(Operation operation) {
 | 
			
		||||
        return {fmt::format("vec2({})", VisitOperand(operation, 0).AsFloat()), Type::HalfFloat};
 | 
			
		||||
        return {fmt::format("vec2({}, 0.0f)", VisitOperand(operation, 0).AsFloat()),
 | 
			
		||||
                Type::HalfFloat};
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    Expression HUnpack(Operation operation) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user