mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Pica/VertexShader: Run instruction handlers according to the effective opcode.
This allows for proper emulation of the different CMP/LRP/MAD instructions.
This commit is contained in:
		
							parent
							
								
									cd163fb59a
								
							
						
					
					
						commit
						22afb9d830
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -172,7 +172,7 @@ static void ProcessShaderCode(VertexShaderState& state) { | ||||||
| 
 | 
 | ||||||
|             state.debug.max_opdesc_id = std::max<u32>(state.debug.max_opdesc_id, 1+instr.common.operand_desc_id); |             state.debug.max_opdesc_id = std::max<u32>(state.debug.max_opdesc_id, 1+instr.common.operand_desc_id); | ||||||
| 
 | 
 | ||||||
|             switch (instr.opcode) { |             switch (instr.opcode.EffectiveOpCode()) { | ||||||
|             case Instruction::OpCode::ADD: |             case Instruction::OpCode::ADD: | ||||||
|             { |             { | ||||||
|                 for (int i = 0; i < 4; ++i) { |                 for (int i = 0; i < 4; ++i) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue