mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	log: replace all NGLOG with LOG
This commit is contained in:
		
							parent
							
								
									fde415968e
								
							
						
					
					
						commit
						7c5a76e58b
					
				
					 152 changed files with 1541 additions and 1541 deletions
				
			
		|  | @ -65,7 +65,7 @@ OutputVertex OutputVertex::FromAttributeBuffer(const RasterizerRegs& regs, | |||
|         ret.color[i] = float24::FromFloat32(c < 1.0f ? c : 1.0f); | ||||
|     } | ||||
| 
 | ||||
|     NGLOG_TRACE(HW_GPU, | ||||
|     LOG_TRACE(HW_GPU, | ||||
|                 "Output vertex: pos({:.2}, {:.2}, {:.2}, {:.2}), quat({:.2}, {:.2}, {:.2}, {:.2}), " | ||||
|                 "col({:.2}, {:.2}, {:.2}, {:.2}), tc0({:.2}, {:.2}), view({:.2}, {:.2}, {:.2})", | ||||
|                 ret.pos.x.ToFloat32(), ret.pos.y.ToFloat32(), ret.pos.z.ToFloat32(), | ||||
|  |  | |||
|  | @ -404,7 +404,7 @@ static void RunInterpreter(const ShaderSetup& setup, UnitState& state, DebugData | |||
|                         break; | ||||
| 
 | ||||
|                     default: | ||||
|                         NGLOG_ERROR(HW_GPU, "Unknown compare mode {:x}", static_cast<int>(op)); | ||||
|                         LOG_ERROR(HW_GPU, "Unknown compare mode {:x}", static_cast<int>(op)); | ||||
|                         break; | ||||
|                     } | ||||
|                 } | ||||
|  | @ -446,7 +446,7 @@ static void RunInterpreter(const ShaderSetup& setup, UnitState& state, DebugData | |||
|             } | ||||
| 
 | ||||
|             default: | ||||
|                 NGLOG_ERROR(HW_GPU, "Unhandled arithmetic instruction: 0x{:02x} ({}): 0x{:08x}", | ||||
|                 LOG_ERROR(HW_GPU, "Unhandled arithmetic instruction: 0x{:02x} ({}): 0x{:08x}", | ||||
|                             (int)instr.opcode.Value().EffectiveOpCode(), | ||||
|                             instr.opcode.Value().GetInfo().name, instr.hex); | ||||
|                 DEBUG_ASSERT(false); | ||||
|  | @ -535,7 +535,7 @@ static void RunInterpreter(const ShaderSetup& setup, UnitState& state, DebugData | |||
|                 } | ||||
|                 Record<DebugDataRecord::DEST_OUT>(debug_data, iteration, dest); | ||||
|             } else { | ||||
|                 NGLOG_ERROR(HW_GPU, "Unhandled multiply-add instruction: 0x{:02x} ({}): 0x{:08x}", | ||||
|                 LOG_ERROR(HW_GPU, "Unhandled multiply-add instruction: 0x{:02x} ({}): 0x{:08x}", | ||||
|                             (int)instr.opcode.Value().EffectiveOpCode(), | ||||
|                             instr.opcode.Value().GetInfo().name, instr.hex); | ||||
|             } | ||||
|  | @ -653,7 +653,7 @@ static void RunInterpreter(const ShaderSetup& setup, UnitState& state, DebugData | |||
|             } | ||||
| 
 | ||||
|             default: | ||||
|                 NGLOG_ERROR(HW_GPU, "Unhandled instruction: 0x{:02x} ({}): 0x{:08x}", | ||||
|                 LOG_ERROR(HW_GPU, "Unhandled instruction: 0x{:02x} ({}): 0x{:08x}", | ||||
|                             (int)instr.opcode.Value().EffectiveOpCode(), | ||||
|                             instr.opcode.Value().GetInfo().name, instr.hex); | ||||
|                 break; | ||||
|  |  | |||
|  | @ -161,7 +161,7 @@ static const u8 NO_SRC_REG_SWIZZLE = 0x1b; | |||
| static const u8 NO_DEST_REG_MASK = 0xf; | ||||
| 
 | ||||
| static void LogCritical(const char* msg) { | ||||
|     NGLOG_CRITICAL(HW_GPU, "{}", msg); | ||||
|     LOG_CRITICAL(HW_GPU, "{}", msg); | ||||
| } | ||||
| 
 | ||||
| void JitShader::Compile_Assert(bool condition, const char* msg) { | ||||
|  | @ -858,7 +858,7 @@ void JitShader::Compile_NextInstr() { | |||
|         ((*this).*instr_func)(instr); | ||||
|     } else { | ||||
|         // Unhandled instruction
 | ||||
|         NGLOG_CRITICAL(HW_GPU, "Unhandled instruction: 0x{:02x} (0x{:08x})", | ||||
|         LOG_CRITICAL(HW_GPU, "Unhandled instruction: 0x{:02x} (0x{:08x})", | ||||
|                        static_cast<u32>(instr.opcode.Value().EffectiveOpCode()), instr.hex); | ||||
|     } | ||||
| } | ||||
|  | @ -945,7 +945,7 @@ void JitShader::Compile(const std::array<u32, MAX_PROGRAM_CODE_LENGTH>* program_ | |||
|     ready(); | ||||
| 
 | ||||
|     ASSERT_MSG(getSize() <= MAX_SHADER_SIZE, "Compiled a shader that exceeds the allocated size!"); | ||||
|     NGLOG_DEBUG(HW_GPU, "Compiled shader size={}", getSize()); | ||||
|     LOG_DEBUG(HW_GPU, "Compiled shader size={}", getSize()); | ||||
| } | ||||
| 
 | ||||
| JitShader::JitShader() : Xbyak::CodeGenerator(MAX_SHADER_SIZE) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue