mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[GPU] More post merge fixes
This commit is contained in:
parent
3ba63e05ac
commit
a9fb32a2fd
|
|
@ -427,7 +427,7 @@ void CommandProcessor::UpdateWritePointer(uint32_t value) {
|
|||
void CommandProcessor::LogRegisterSet(uint32_t register_index, uint32_t value) {
|
||||
#if XE_ENABLE_GPU_REG_WRITE_LOGGING == 1
|
||||
if (cvars::log_guest_driven_gpu_register_written_values &&
|
||||
logging::internal::ShouldLog(LogLevel::Debug)) {
|
||||
logging::ShouldLog(LogLevel::Debug)) {
|
||||
const RegisterInfo* reginfo = RegisterFile::GetRegisterInfo(register_index);
|
||||
|
||||
if (!reginfo) {
|
||||
|
|
@ -444,7 +444,7 @@ void CommandProcessor::LogRegisterSets(uint32_t base_register_index,
|
|||
uint32_t n_values) {
|
||||
#if XE_ENABLE_GPU_REG_WRITE_LOGGING == 1
|
||||
if (cvars::log_guest_driven_gpu_register_written_values &&
|
||||
logging::internal::ShouldLog(LogLevel::Debug)) {
|
||||
logging::ShouldLog(LogLevel::Debug)) {
|
||||
auto target = logging::internal::GetThreadBuffer();
|
||||
|
||||
auto target_ptr = target.first;
|
||||
|
|
|
|||
|
|
@ -267,7 +267,7 @@ void COMMAND_PROCESSOR::DisassembleCurrentPacket() XE_RESTRICT {
|
|||
}
|
||||
bool COMMAND_PROCESSOR::ExecutePacket() {
|
||||
#if XE_ENABLE_PM4_DISASM == 1
|
||||
if (cvars::disassemble_pm4 && logging::internal::ShouldLog(LogLevel::Debug)) {
|
||||
if (cvars::disassemble_pm4 && logging::ShouldLog(LogLevel::Debug)) {
|
||||
COMMAND_PROCESSOR::DisassembleCurrentPacket();
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue