Merge branch 'master' into vulkan

This commit is contained in:
Triang3l 2020-10-08 21:38:41 +03:00
commit 2782fc927d
7 changed files with 0 additions and 10 deletions

View File

@ -125,7 +125,6 @@ void CommandProcessor::EndTracing() {
return;
}
assert_true(trace_state_ == TraceState::kStreaming);
FinalizeTrace();
trace_state_ = TraceState::kDisabled;
trace_writer_.Close();
}
@ -751,7 +750,6 @@ bool CommandProcessor::ExecutePacketType3(RingBuffer* reader, uint32_t packet) {
trace_writer_.WriteEvent(EventCommand::Type::kSwap);
trace_writer_.Flush();
if (trace_state_ == TraceState::kSingleFrame) {
FinalizeTrace();
trace_state_ = TraceState::kDisabled;
trace_writer_.Close();
}

View File

@ -252,7 +252,6 @@ class CommandProcessor {
virtual bool IssueCopy() = 0;
virtual void InitializeTrace() = 0;
virtual void FinalizeTrace() = 0;
Memory* memory_ = nullptr;
kernel::KernelState* kernel_state_ = nullptr;

View File

@ -2331,8 +2331,6 @@ void D3D12CommandProcessor::InitializeTrace() {
}
}
void D3D12CommandProcessor::FinalizeTrace() {}
bool D3D12CommandProcessor::IssueCopy() {
#if XE_UI_D3D12_FINE_GRAINED_DRAW_SCOPES
SCOPE_profile_cpu_f("gpu");

View File

@ -216,7 +216,6 @@ class D3D12CommandProcessor : public CommandProcessor {
bool IssueCopy() override;
void InitializeTrace() override;
void FinalizeTrace() override;
private:
static constexpr uint32_t kQueueFrames = 3;

View File

@ -53,8 +53,6 @@ bool NullCommandProcessor::IssueCopy() { return true; }
void NullCommandProcessor::InitializeTrace() {}
void NullCommandProcessor::FinalizeTrace() {}
} // namespace null
} // namespace gpu
} // namespace xe

View File

@ -46,7 +46,6 @@ class NullCommandProcessor : public CommandProcessor {
bool IssueCopy() override;
void InitializeTrace() override;
void FinalizeTrace() override;
};
} // namespace null

View File

@ -81,7 +81,6 @@ class VulkanCommandProcessor : public CommandProcessor {
bool IssueCopy() override;
void InitializeTrace() override;
void FinalizeTrace() override;
private:
// BeginSubmission and EndSubmission may be called at any time. If there's an