D3D12: Re-enable the workaround for T2T copy issue on Intel GPUs
This patch re-enables the workaround for T2T copy issue on Intel GPUs as we have found there are still other issues about T2T copies on latest Intel D3D12 driver when we investigate the WebGPU CTS failures on Intel Gen9 and Gen9.5 GPUs. Bug: chromium:1161355 Change-Id: Ibd8a8c299453dff6a5432b3c4ab5350558c5313f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94980 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
This commit is contained in:
parent
b4eaca2cf6
commit
86a8d76877
|
@ -596,13 +596,8 @@ void Device::InitTogglesFromDriver() {
|
|||
// Currently this workaround is only needed on Intel Gen9 and Gen9.5 GPUs.
|
||||
// See http://crbug.com/1161355 for more information.
|
||||
if (gpu_info::IsIntelGen9(vendorId, deviceId)) {
|
||||
constexpr gpu_info::D3DDriverVersion kFirstDriverVersionWithFix = {30, 0, 100, 9864};
|
||||
if (gpu_info::CompareD3DDriverVersion(vendorId, ToBackend(GetAdapter())->GetDriverVersion(),
|
||||
kFirstDriverVersionWithFix) < 0) {
|
||||
SetToggle(
|
||||
Toggle::UseTempBufferInSmallFormatTextureToTextureCopyFromGreaterToLessMipLevel,
|
||||
true);
|
||||
}
|
||||
SetToggle(Toggle::UseTempBufferInSmallFormatTextureToTextureCopyFromGreaterToLessMipLevel,
|
||||
true);
|
||||
}
|
||||
|
||||
// Currently this workaround is needed on any D3D12 backend for some particular situations.
|
||||
|
|
Loading…
Reference in New Issue