From ef6696089d5ccffdadc7cf1d4c667111231dc071 Mon Sep 17 00:00:00 2001 From: Yunchao He Date: Fri, 23 Sep 2022 16:03:37 +0000 Subject: [PATCH] D3D12 Intel: change the driver version for array texture corruption issue The previous driver version I got from Intel driver team is not correct. That driver does contain the fix but it is not the first version with the fix. Bug: dawn:949, dawn:1507 Change-Id: I0044a181e4266b50f77734bbbf9cc8755a8334d9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/103502 Reviewed-by: Corentin Wallez Commit-Queue: Yunchao He Reviewed-by: Austin Eng Kokoro: Kokoro --- src/dawn/native/d3d12/DeviceD3D12.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dawn/native/d3d12/DeviceD3D12.cpp b/src/dawn/native/d3d12/DeviceD3D12.cpp index 9aa1627857..d7ed21c400 100644 --- a/src/dawn/native/d3d12/DeviceD3D12.cpp +++ b/src/dawn/native/d3d12/DeviceD3D12.cpp @@ -687,10 +687,10 @@ void Device::InitTogglesFromDriver() { // on the platforms where UnrestrictedBufferTextureCopyPitchSupported is true. SetToggle(Toggle::D3D12SplitBufferTextureCopyForRowsPerImagePaddings, true); - // This workaround is only needed on Intel Gen12LP with driver prior to 30.0.101.1960. + // This workaround is only needed on Intel Gen12LP with driver prior to 30.0.101.1692. // See http://crbug.com/dawn/949 for more information. if (gpu_info::IsIntelGen12LP(vendorId, deviceId)) { - const gpu_info::D3DDriverVersion version = {30, 0, 101, 1960}; + const gpu_info::D3DDriverVersion version = {30, 0, 101, 1692}; if (gpu_info::CompareD3DDriverVersion(vendorId, ToBackend(GetAdapter())->GetDriverVersion(), version) == -1) { SetToggle(Toggle::D3D12AllocateExtraMemoryFor2DArrayTexture, true);