mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	shader_decode: Implement MOV32_IMM
This commit is contained in:
		
							parent
							
								
									06cb910c6d
								
							
						
					
					
						commit
						2edee801ce
					
				@ -16,7 +16,15 @@ u32 ShaderIR::DecodeArithmeticImmediate(BasicBlock& bb, u32 pc) {
 | 
				
			|||||||
    const Instruction instr = {program_code[pc]};
 | 
					    const Instruction instr = {program_code[pc]};
 | 
				
			||||||
    const auto opcode = OpCode::Decode(instr);
 | 
					    const auto opcode = OpCode::Decode(instr);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    UNIMPLEMENTED();
 | 
					    switch (opcode->get().GetId()) {
 | 
				
			||||||
 | 
					    case OpCode::Id::MOV32_IMM: {
 | 
				
			||||||
 | 
					        SetRegister(bb, instr.gpr0, GetImmediate32(instr));
 | 
				
			||||||
 | 
					        break;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    default:
 | 
				
			||||||
 | 
					        UNIMPLEMENTED_MSG("Unhandled arithmetic immediate instruction: {}",
 | 
				
			||||||
 | 
					                          opcode->get().GetName());
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return pc;
 | 
					    return pc;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user