Remove deprecated ExternalImageAccessDescriptorDXGIKeyedMutex behavior

Previously Dawn was using acquireKey + 1 for the releaseKey but we
changed the code transition to requiring a specific key. We supported
both options for a time but now that Chromium uses a releaseKey, we can
remove the deprecated option.

Bug: chromium:1213977
Change-Id: Iab253673c15b83b107dcc3635ee165cfa09efeb6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/58383
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Corentin Wallez
2021-07-19 14:44:06 +00:00
committed by Dawn LUCI CQ
parent c014c74f80
commit 0f3c35c8c1
4 changed files with 8 additions and 10 deletions

View File

@@ -56,8 +56,7 @@ namespace dawn_native { namespace d3d12 {
: ExternalImageAccessDescriptor {
public:
uint64_t acquireMutexKey;
// Release key will be set to acquireMutexKey + 1 if set to sentinel value UINT64_MAX.
uint64_t releaseMutexKey = UINT64_MAX;
uint64_t releaseMutexKey;
bool isSwapChainTexture = false;
};