Merge pull request #11862 from liamwhite/pascal-robust

Manually robust on Pascal and earlier
This commit is contained in:
liamwhite 2023-10-29 11:25:15 -04:00 committed by GitHub
commit 4da2105a32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -358,7 +358,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device
.has_broken_spirv_subgroup_mask_vector_extract_dynamic = .has_broken_spirv_subgroup_mask_vector_extract_dynamic =
driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY, driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY,
.has_broken_robust = .has_broken_robust =
device.IsNvidia() && device.GetNvidiaArch() <= NvidiaArchitecture::Arch_Maxwell, device.IsNvidia() && device.GetNvidiaArch() <= NvidiaArchitecture::Arch_Pascal,
}; };
host_info = Shader::HostTranslateInfo{ host_info = Shader::HostTranslateInfo{