mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
vk/drivers: Restore polaris+ patch to disable primitive restart
This commit is contained in:
parent
32f0e91893
commit
ebb9fc7cd9
1 changed files with 6 additions and 3 deletions
|
@ -283,7 +283,8 @@ namespace vk
|
||||||
g_current_renderer = device;
|
g_current_renderer = device;
|
||||||
const auto gpu_name = g_current_renderer.gpu().name();
|
const auto gpu_name = g_current_renderer.gpu().name();
|
||||||
|
|
||||||
/* const std::array<std::string, 8> black_listed =
|
#ifdef _WIN32
|
||||||
|
const std::array<std::string, 8> black_listed =
|
||||||
{
|
{
|
||||||
// Black list all polaris unless its proven they dont have a problem with primitive restart
|
// Black list all polaris unless its proven they dont have a problem with primitive restart
|
||||||
"RX 580",
|
"RX 580",
|
||||||
|
@ -303,12 +304,14 @@ namespace vk
|
||||||
g_drv_no_primitive_restart_flag = !g_cfg.video.vk.force_primitive_restart;
|
g_drv_no_primitive_restart_flag = !g_cfg.video.vk.force_primitive_restart;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
|
|
||||||
if (gpu_name.find("AMD") != std::string::npos)
|
//Older cards back to GCN1 break primitive restart on 16-bit indices
|
||||||
|
if (gpu_name.find("Radeon") != std::string::npos)
|
||||||
{
|
{
|
||||||
g_drv_force_32bit_indices = true;
|
g_drv_force_32bit_indices = true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool emulate_primitive_restart()
|
bool emulate_primitive_restart()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue