Commit 6f149c44 authored by Corentin Wallez's avatar Corentin Wallez Committed by Commit Bot

Roll src/third_party/dawn/ 8d000e0cc..4794168ef (5 commits)

https://dawn.googlesource.com/dawn.git/+log/8d000e0cc230..4794168ef8b1

$ git log 8d000e0cc..4794168ef --date=short --no-merges --format='%ad %ae %s'
2019-10-18 yizhou.jiang Use toggle to turn off vsync on D3D12
2019-10-18 rafael.cintron Add D3D12 keyed shared mutexes to Dawn
2019-10-17 rharrison Rolling 4 dependencies
2019-10-17 enga Record and dump trace events in the perf tests
2019-10-17 bryan.bernhart Resource Management 8: placed resource sub-allocation.

This CL temporarily skips WebGPU mailbox tests on Windows because the
WrapSharedHandle interface has changed.

Created with:
  roll-dep src/third_party/dawn

TBR=kbr@chromium.org
BUG=None

Change-Id: I536c66e85bd3bfc568a7cfca29dc95618b4549d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1868951Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Reviewed-by: default avatarAustin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707780}
parent a6274eb4
......@@ -306,7 +306,7 @@ vars = {
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling feed
# and whatever else without interference from each other.
'dawn_revision': '8d000e0cc230663dbeae86f59aaa16fc91b1eac1',
'dawn_revision': '3c79cf2ab9f26f69d172c1cf71d63b31d89d20d1',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling feed
# and whatever else without interference from each other.
......
......@@ -393,7 +393,7 @@ DawnTexture SharedImageRepresentationDawnD3D::BeginAccess(
desc.sampleCount = 1;
texture_ =
dawn_native::d3d12::WrapSharedHandle(device_, &desc, shared_handle);
dawn_native::d3d12::WrapSharedHandle(device_, &desc, shared_handle, 0);
if (texture_) {
// Keep a reference to the texture so that it stays valid (its content
// might be destroyed).
......
......@@ -31,8 +31,7 @@ bool WebGPUTest::WebGPUSupported() const {
bool WebGPUTest::WebGPUSharedImageSupported() const {
// Currently WebGPUSharedImage is only implemented on Mac, Linux and Windows
#if (defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_WIN)) && \
BUILDFLAG(USE_DAWN)
#if (defined(OS_MACOSX) || defined(OS_LINUX)) && BUILDFLAG(USE_DAWN)
return true;
#else
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment