mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Merge pull request #1091 from aroulin/shader-sge-nan-fix
Shader JIT: Fix SGE/SGEI NaN behavior
This commit is contained in:
		
						commit
						d8a78d4d9e
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -434,10 +434,10 @@ void JitCompiler::Compile_SGE(Instruction instr) { | ||||||
|         Compile_SwizzleSrc(instr, 2, instr.common.src2, SRC2); |         Compile_SwizzleSrc(instr, 2, instr.common.src2, SRC2); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     CMPPS(SRC1, R(SRC2), CMP_NLT); |     CMPPS(SRC2, R(SRC1), CMP_LE); | ||||||
|     ANDPS(SRC1, R(ONE)); |     ANDPS(SRC2, R(ONE)); | ||||||
| 
 | 
 | ||||||
|     Compile_DestEnable(instr, SRC1); |     Compile_DestEnable(instr, SRC2); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void JitCompiler::Compile_SLT(Instruction instr) { | void JitCompiler::Compile_SLT(Instruction instr) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue