mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-26 23:14:14 +01:00
Avoid resetting command buffers manually it's implicit
Somewhat costly on adreno, and with the one time submit flag the reset is implicit for the next beginCommandBuffers call.
This commit is contained in:
parent
e1717ed811
commit
128b68d8b2
@ -32,7 +32,7 @@ namespace skyline::gpu::interconnect {
|
||||
std::shared_ptr<FenceCycle> CommandRecordThread::Slot::Reset(GPU &gpu) {
|
||||
cycle->Wait();
|
||||
cycle = std::make_shared<FenceCycle>(gpu.vkDevice, *fence);
|
||||
commandBuffer.reset();
|
||||
// Command buffer doesn't need to be reset since that's done implicitly by begin
|
||||
return cycle;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user