Fix occasional corruption of vertex textures in HD4600 GPUs.

This appears to be caused by the UpdateSubResource call,
which is worked around by enabling the other image upload
path that ANGLE supports.

The workaround doesn't include a driver version, since the
bug is occurring in the most recent driver that is currently
available (15.40.42.5063, released 19th Mar 2019).

Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1562462

Change-Id: I5135dcf6da6ef530c99124a04003d54f99e4cd7c
Bug: angleproject:3764
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1731975
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
This commit is contained in:
Glenn Watson 2019-08-02 07:11:16 +10:00 коммит произвёл Commit Bot
Родитель 153f3c226c
Коммит 13cc0fce43
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -2429,6 +2429,9 @@ void InitializeFeatures(const Renderer11DeviceCaps &deviceCaps,
else if (IsBroadwell(adapterDesc.DeviceId) || IsHaswell(adapterDesc.DeviceId))
{
features->rewriteUnaryMinusOperator.enabled = capsVersion < IntelDriverVersion(4624);
// Haswell drivers occasionally corrupt (small?) (vertex?) texture data uploads.
features->setDataFasterThanImageUpload.enabled = false;
}
}