[GPU] More post merge fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user