mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-24 19:00:54 +00:00
Blacklist some gpu
This commit is contained in:
parent
1fd6cf1cc5
commit
7500145ddf
@ -56,6 +56,13 @@ enum {
|
||||
FLAG_DIRTYONCHANGE = 64,
|
||||
};
|
||||
|
||||
static const char *BlacklistGPUNames[] = {
|
||||
// Blacklist Tegra 3, doesn't work very well.
|
||||
"NVIDIA Tegra 3",
|
||||
"PowerVR Rogue G6430",
|
||||
"PowerVR SGX 540",
|
||||
};
|
||||
|
||||
struct CommandTableEntry {
|
||||
u8 cmd;
|
||||
u8 flags;
|
||||
@ -490,9 +497,11 @@ void GLES_GPU::CheckGPUFeatures() {
|
||||
// Tales of Destiny 2 has been reported to display green.
|
||||
if (gl_extensions.EXT_shader_framebuffer_fetch || gl_extensions.NV_shader_framebuffer_fetch || gl_extensions.ARM_shader_framebuffer_fetch) {
|
||||
features |= GPU_SUPPORTS_ANY_FRAMEBUFFER_FETCH;
|
||||
// Blacklist Tegra 3, doesn't work very well.
|
||||
if (strstr(gl_extensions.model, "NVIDIA Tegra 3") != 0) {
|
||||
features &= ~GPU_SUPPORTS_ANY_FRAMEBUFFER_FETCH;
|
||||
for (size_t i = 0; i < ARRAY_SIZE(BlacklistGPUNames); i++) {
|
||||
if (strstr(gl_extensions.model, BlacklistGPUNames[i]) != 0) {
|
||||
features &= ~GPU_SUPPORTS_ANY_FRAMEBUFFER_FETCH;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user