Increase accuracy of memory operations on High a bit more
All checks were successful
eden-license / license-header (pull_request) Successful in 22s
All checks were successful
eden-license / license-header (pull_request) Successful in 22s
This commit is contained in:
parent
5358d6c93f
commit
f13c6e8b59
1 changed files with 1 additions and 7 deletions
|
@ -100,15 +100,10 @@ bool DmaPusher::Step() {
|
||||||
ProcessCommands(headers);
|
ProcessCommands(headers);
|
||||||
};
|
};
|
||||||
if (Settings::IsGPULevelHigh()) {
|
if (Settings::IsGPULevelHigh()) {
|
||||||
if (dma_state.method >= MacroRegistersStart) {
|
safe_process();
|
||||||
unsafe_process();
|
|
||||||
} else {
|
|
||||||
safe_process();
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
unsafe_process();
|
unsafe_process();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dma_pushbuffer_subindex >= command_list.command_lists.size()) {
|
if (dma_pushbuffer_subindex >= command_list.command_lists.size()) {
|
||||||
// We've gone through the current list, remove it from the queue
|
// We've gone through the current list, remove it from the queue
|
||||||
dma_pushbuffer.pop();
|
dma_pushbuffer.pop();
|
||||||
|
@ -116,7 +111,6 @@ bool DmaPusher::Step() {
|
||||||
} else if (command_list.command_lists[dma_pushbuffer_subindex].sync && Settings::values.sync_memory_operations.GetValue()) {
|
} else if (command_list.command_lists[dma_pushbuffer_subindex].sync && Settings::values.sync_memory_operations.GetValue()) {
|
||||||
signal_sync = true;
|
signal_sync = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (signal_sync) {
|
if (signal_sync) {
|
||||||
rasterizer->SignalFence([this]() {
|
rasterizer->SignalFence([this]() {
|
||||||
std::scoped_lock lk(sync_mutex);
|
std::scoped_lock lk(sync_mutex);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue