mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu.git
				synced 2025-05-12 00:45:25 +00:00 
			
		
		
		
	gl_shader_decompiler: Print instruction value in shader comments.
This commit is contained in:
		
							parent
							
								
									7138b99f21
								
							
						
					
					
						commit
						c4322ce87e
					
				@ -769,7 +769,8 @@ private:
 | 
				
			|||||||
            return offset + 1;
 | 
					            return offset + 1;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        shader.AddLine("// " + std::to_string(offset) + ": " + opcode->GetName());
 | 
					        shader.AddLine("// " + std::to_string(offset) + ": " + opcode->GetName() + " (" +
 | 
				
			||||||
 | 
					                       std::to_string(instr.value) + ')');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        using Tegra::Shader::Pred;
 | 
					        using Tegra::Shader::Pred;
 | 
				
			||||||
        ASSERT_MSG(instr.pred.full_pred != Pred::NeverExecute,
 | 
					        ASSERT_MSG(instr.pred.full_pred != Pred::NeverExecute,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user