mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00: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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user