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 <cwallez@chromium.org> Commit-Queue: Yunchao He <yunchao.he@intel.com> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
05e7332ac8
commit
ef6696089d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue