Enable the workaround about T2T copy on Intel Gen11 GPUs
This patch enables the workaround about using a temporary buffer in the T2T copy on Intel Gen11 GPUs after running WebGPU CTS on these platforms. Bug: chromium:1161355 Change-Id: Id4a4f189b4a7a3954dc66062d27e9b226d1409f6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99320 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
parent
c8b0cfe7e3
commit
d9d6dfac9a
|
@ -657,9 +657,9 @@ void Device::InitTogglesFromDriver() {
|
|||
uint32_t deviceId = GetAdapter()->GetDeviceId();
|
||||
uint32_t vendorId = GetAdapter()->GetVendorId();
|
||||
|
||||
// Currently this workaround is only needed on Intel Gen9 and Gen9.5 GPUs.
|
||||
// Currently this workaround is only needed on Intel Gen9, Gen9.5 and Gen11 GPUs.
|
||||
// See http://crbug.com/1161355 for more information.
|
||||
if (gpu_info::IsIntelGen9(vendorId, deviceId)) {
|
||||
if (gpu_info::IsIntelGen9(vendorId, deviceId) || gpu_info::IsIntelGen11(vendorId, deviceId)) {
|
||||
SetToggle(Toggle::UseTempBufferInSmallFormatTextureToTextureCopyFromGreaterToLessMipLevel,
|
||||
true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue