Compare commits

...

1 Commits

Author SHA1 Message Date
ReinUsesLisp
57f2de33fe gpu_thread: Disable flush on read on normal GPU accuracy
This is an unfortunate oversight when adding more GPU accuracies. It
makes no sense to be more accurate (and fail to do so) in normal
accuracy than in high.

I plan to merge Normal and High in the same setting in the future.
2021-01-24 18:11:42 -03:00

View File

@@ -106,14 +106,10 @@ void ThreadManager::FlushRegion(VAddr addr, u64 size) {
PushCommand(FlushRegionCommand(addr, size));
return;
}
// Asynchronous GPU mode
switch (Settings::values.gpu_accuracy.GetValue()) {
case Settings::GPUAccuracy::Normal:
PushCommand(FlushRegionCommand(addr, size));
break;
case Settings::GPUAccuracy::High:
// TODO(bunnei): Is this right? Preserving existing behavior for now
break;
case Settings::GPUAccuracy::Extreme: {
auto& gpu = system.GPU();