ogl driverdetails: add flag to disable hacked and pinned memory

pinned memory is broken for index buffers
hacked buffer crashes the amd driver
This commit is contained in:
degasus
2013-08-26 19:45:19 +02:00
parent d83dffe442
commit 15df7b3445
4 changed files with 29 additions and 12 deletions

View File

@ -83,6 +83,22 @@ namespace DriverDetails
// Nouveau stored the offset as u16 which isn't enough for all cases with range until 9.1.6
// I965 has broken data fetches from uniform buffers which results in a dithering until 9.2.0
BUG_BROKENUBO,
// Bug: The hacked buffer upload method isn't working
// This isn't a bug as the hacked buffer itself isn't used to work.
// I'm still surprised that it works on so many drivers.
// Affected devices: - amd close sourced driver
// - nouveau
// - maybe also some others
// This hack is evil. It's like free(pointer); *pointer = data;
BUG_BROKENHACKEDBUFFER,
// Bug: The pinned memory extension isn't working for index buffers
// Affected devices: AMD as they are the only vendor providing this extension
// Started Version: ?
// Ended Version: -1
// Pinned memory is disabled for index buffer as the amd driver (the only one with pinned memory support) seems
// to be broken. We just get flickering/black rendering when using pinned memory here -- degasus - 2013/08/20
// Please see issue #6105 on google code. Let's hope buffer storage solves this issues.
BUG_BROKENPINNEDMEMORY,
};
// Initializes our internal vendor, device family, and driver version