mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Merge pull request #1064 from lioncash/matr
shader_jit: Replace two MDisp usages with MatR
This commit is contained in:
		
						commit
						d6a5a00c24
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -749,12 +749,12 @@ CompiledShader* JitCompiler::Compile() { | ||||||
|     // Used to set a register to one
 |     // Used to set a register to one
 | ||||||
|     static const __m128 one = { 1.f, 1.f, 1.f, 1.f }; |     static const __m128 one = { 1.f, 1.f, 1.f, 1.f }; | ||||||
|     MOV(PTRBITS, R(RAX), ImmPtr(&one)); |     MOV(PTRBITS, R(RAX), ImmPtr(&one)); | ||||||
|     MOVAPS(ONE, MDisp(RAX, 0)); |     MOVAPS(ONE, MatR(RAX)); | ||||||
| 
 | 
 | ||||||
|     // Used to negate registers
 |     // Used to negate registers
 | ||||||
|     static const __m128 neg = { -0.f, -0.f, -0.f, -0.f }; |     static const __m128 neg = { -0.f, -0.f, -0.f, -0.f }; | ||||||
|     MOV(PTRBITS, R(RAX), ImmPtr(&neg)); |     MOV(PTRBITS, R(RAX), ImmPtr(&neg)); | ||||||
|     MOVAPS(NEGBIT, MDisp(RAX, 0)); |     MOVAPS(NEGBIT, MatR(RAX)); | ||||||
| 
 | 
 | ||||||
|     looping = false; |     looping = false; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue