Bug 1562462 - ANGLE Cherry-pick: Fix occasional corruption of vertex textures in HD4600 GPUs for WebRender. r=gw

Differential Revision: https://phabricator.services.mozilla.com/D40354

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jeff Gilbert 2019-08-02 01:56:17 +00:00
parent b29b969839
commit 9d744e0fdb
3 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#define ANGLE_COMMIT_HASH "b0a9c45400d2"
#define ANGLE_COMMIT_HASH "21dccd386996"
#define ANGLE_COMMIT_HASH_SIZE 12
#define ANGLE_COMMIT_DATE "2019-06-26 14:30:37 -0700"
#define ANGLE_COMMIT_DATE "2019-08-01 14:11:16 -0700"

View File

@ -2414,6 +2414,9 @@ angle::WorkaroundsD3D GenerateWorkarounds(const Renderer11DeviceCaps &deviceCaps
else if (IsBroadwell(adapterDesc.DeviceId) || IsHaswell(adapterDesc.DeviceId))
{
workarounds.rewriteUnaryMinusOperator = capsVersion < IntelDriverVersion(4624);
// Haswell drivers occasionally corrupt (small?) (vertex?) texture data uploads.
workarounds.setDataFasterThanImageUpload = false;
}
}

View File

@ -1,3 +1,17 @@
commit 21dccd386996a40e5e52a1d1c4f1eb9abc66adf0
Author: Glenn Watson <39062770+gw3583@users.noreply.github.com>
Date: Fri Aug 2 07:11:16 2019 +1000
Fix occasional corruption of vertex textures in HD4600 GPUs. (#19)
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).
commit b0a9c45400d23281c67059980f7a39cc4285e5f9
Author: Jamie Madill <jmadill@chromium.org>
Date: Mon Apr 8 16:26:50 2019 -0400