mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	shader_jit: Replace two MDisp usages with MatR
This commit is contained in:
		
							parent
							
								
									83c214f6d8
								
							
						
					
					
						commit
						fa5076eb9b
					
				@ -749,12 +749,12 @@ CompiledShader* JitCompiler::Compile() {
 | 
			
		||||
    // Used to set a register to one
 | 
			
		||||
    static const __m128 one = { 1.f, 1.f, 1.f, 1.f };
 | 
			
		||||
    MOV(PTRBITS, R(RAX), ImmPtr(&one));
 | 
			
		||||
    MOVAPS(ONE, MDisp(RAX, 0));
 | 
			
		||||
    MOVAPS(ONE, MatR(RAX));
 | 
			
		||||
 | 
			
		||||
    // Used to negate registers
 | 
			
		||||
    static const __m128 neg = { -0.f, -0.f, -0.f, -0.f };
 | 
			
		||||
    MOV(PTRBITS, R(RAX), ImmPtr(&neg));
 | 
			
		||||
    MOVAPS(NEGBIT, MDisp(RAX, 0));
 | 
			
		||||
    MOVAPS(NEGBIT, MatR(RAX));
 | 
			
		||||
 | 
			
		||||
    looping = false;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user