mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-11-04 20:44:02 +08:00 
			
		
		
		
	shader_jit_x64: Use LOOPCOUNT_REG as a 64-bit reg when indexing
This commit is contained in:
		
							parent
							
								
									0e03257393
								
							
						
					
					
						commit
						fb9e856b91
					
				@ -222,7 +222,7 @@ void JitShader::Compile_SwizzleSrc(Instruction instr, unsigned src_num, SourceRe
 | 
				
			|||||||
            movaps(dest, xword[src_ptr + ADDROFFS_REG_1 + src_offset_disp]);
 | 
					            movaps(dest, xword[src_ptr + ADDROFFS_REG_1 + src_offset_disp]);
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
        case 3: // address offset 3
 | 
					        case 3: // address offset 3
 | 
				
			||||||
            movaps(dest, xword[src_ptr + LOOPCOUNT_REG + src_offset_disp]);
 | 
					            movaps(dest, xword[src_ptr + LOOPCOUNT_REG.cvt64() + src_offset_disp]);
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
        default:
 | 
					        default:
 | 
				
			||||||
            UNREACHABLE();
 | 
					            UNREACHABLE();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user