mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-01 23:26:03 +00:00
OSX: don't avoid unsync mapping on nvida gpus just because the windows driver doesn't like it
OSX has their own driver, so performance issues aren't shared with the nvidia driver (unlike the closed source linux and windows nvidia driver). So now they'll also use the MapAndSync backend like all other osx drivers. fixes issue 6596 I've also cleaned up the if/else block selecting the best backend a bit.
This commit is contained in:
parent
6f74f59427
commit
d3fd0eddbb
3 changed files with 47 additions and 18 deletions
|
@ -154,6 +154,17 @@ namespace DriverDetails
|
|||
// The drivers on OS X has broken primitive restart.
|
||||
// Intel HD 4000 series isn't affected by the bug
|
||||
BUG_PRIMITIVERESTART,
|
||||
// Bug: unsync mapping doesn't work fine
|
||||
// Affected devices: nvidia driver
|
||||
// Started Version: -1
|
||||
// Ended Version: -1
|
||||
// The nvidia driver (both windows + linux) doesn't like unsync mapping performance wise.
|
||||
// Because of their threaded behavoir, they seem not to handle unsync mapping complete unsync,
|
||||
// in fact, they serialize the driver which adds a much bigger overhead.
|
||||
// Workaround: Use BufferSubData
|
||||
// TODO: some windows AMD driver/gpu combination seems also affected
|
||||
// but as they all support pinned memory, it doesn't matter
|
||||
BUG_BROKENUNSYNCMAPPING,
|
||||
};
|
||||
|
||||
// Initializes our internal vendor, device family, and driver version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue