mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
vk: Include RADV POLARIS and RADV VEGA in the primitive restart
blacklist
This commit is contained in:
parent
bff6060bd6
commit
9d1f4a2538
1 changed files with 10 additions and 2 deletions
|
@ -211,10 +211,18 @@ namespace vk
|
||||||
//Radeon fails to properly handle degenerate primitives if primitive restart is enabled
|
//Radeon fails to properly handle degenerate primitives if primitive restart is enabled
|
||||||
//One has to choose between using degenerate primitives or primitive restart to break up lists but not both
|
//One has to choose between using degenerate primitives or primitive restart to break up lists but not both
|
||||||
//Polaris and newer will crash with ERROR_DEVICE_LOST
|
//Polaris and newer will crash with ERROR_DEVICE_LOST
|
||||||
//Older GCN will work okay most of the time but also occasionally draws garbage without reason
|
//Older GCN will work okay most of the time but also occasionally draws garbage without reason (properietary driver only)
|
||||||
if (gpu_name.find("Radeon") != std::string::npos)
|
if (gpu_name.find("Radeon") != std::string::npos || //Proprietary driver
|
||||||
|
gpu_name.find("POLARIS") != std::string::npos || //RADV POLARIS
|
||||||
|
gpu_name.find("VEGA") != std::string::npos) //RADV VEGA
|
||||||
{
|
{
|
||||||
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
//Radeon proprietary driver does not properly handle fence reset and can segfault during vkResetFences
|
||||||
|
//Disable fence reset for proprietary driver and delete+initialize a new fence instead
|
||||||
|
if (gpu_name.find("Radeon") != std::string::npos)
|
||||||
|
{
|
||||||
g_drv_disable_fence_reset = true;
|
g_drv_disable_fence_reset = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue