Skip to content

Commit

Permalink
hot-fix: nullGpu functionality restored
Browse files Browse the repository at this point in the history
  • Loading branch information
psucien committed Sep 9, 2024
1 parent a0cf4ce commit adfb3af
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/video_core/amdgpu/liverpool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,15 @@ Liverpool::Task Liverpool::ProcessGraphics(std::span<const u32> dcb, std::span<c
const auto marker_sz = nop->header.count.Value() * 2;
const std::string_view label{reinterpret_cast<const char*>(&nop->data_block[1]),
marker_sz};
rasterizer->ScopeMarkerBegin(label);
if (rasterizer) {
rasterizer->ScopeMarkerBegin(label);
}
break;
}
case PM4CmdNop::PayloadType::DebugMarkerPop: {
rasterizer->ScopeMarkerEnd();
if (rasterizer) {
rasterizer->ScopeMarkerEnd();
}
break;
}
default:
Expand Down Expand Up @@ -536,7 +540,9 @@ Liverpool::Task Liverpool::ProcessGraphics(std::span<const u32> dcb, std::span<c
break;
}
case PM4ItOpcode::PfpSyncMe: {
rasterizer->CpSync();
if (rasterizer) {
rasterizer->CpSync();
}
break;
}
default:
Expand Down

0 comments on commit adfb3af

Please sign in to comment.