Manually robust on Pascal and earlier

This commit is contained in:
Liam 2023-10-23 09:08:57 -04:00
parent db37e583ff
commit 0604b14263

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{