Commit ad6820b3 authored by François Beaufort's avatar François Beaufort Committed by Commit Bot

Roll src/third_party/dawn/ 3fd022ef6..21dfc9195 (2 commits)

https://dawn.googlesource.com/dawn.git/+log/3fd022ef6041..21dfc919547f

$ git log 3fd022ef6..21dfc9195 --date=short --no-merges --format='%ad %ae %s'
2019-10-03 bryan.bernhart Resource Management 7: Device memory sub-allocation using buddy allocator.
2019-10-03 beaufort.francois Add missing optional label member to descriptors

Created with:
  roll-dep src/third_party/dawn

Change-Id: I1011570dcc920cd005ad5bba2a5022f63b595fb5
Bug: 877147
Bug: dawn:22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1839691Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Reviewed-by: default avatarGeoff Lang <geofflang@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Auto-Submit: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#702849}
parent 324aff13
...@@ -302,7 +302,7 @@ vars = { ...@@ -302,7 +302,7 @@ vars = {
# Three lines of non-changing comments so that # Three lines of non-changing comments so that
# the commit queue can handle CLs rolling feed # the commit queue can handle CLs rolling feed
# and whatever else without interference from each other. # and whatever else without interference from each other.
'dawn_revision': '3fd022ef60417eb15e6d5b82318c763f26024888', 'dawn_revision': '21dfc919547fb3b139b56271d1aa09518bd75801',
# Three lines of non-changing comments so that # Three lines of non-changing comments so that
# the commit queue can handle CLs rolling feed # the commit queue can handle CLs rolling feed
# and whatever else without interference from each other. # and whatever else without interference from each other.
......
...@@ -56,12 +56,12 @@ TEST_F(WebGPUFenceTest, InitialValue) { ...@@ -56,12 +56,12 @@ TEST_F(WebGPUFenceTest, InitialValue) {
dawn::Device device = dawn::Device::Acquire(webgpu()->GetDefaultDevice()); dawn::Device device = dawn::Device::Acquire(webgpu()->GetDefaultDevice());
dawn::Queue queue = device.CreateQueue(); dawn::Queue queue = device.CreateQueue();
{ {
dawn::FenceDescriptor fence_desc{nullptr, 0}; dawn::FenceDescriptor fence_desc{nullptr, nullptr, 0};
dawn::Fence fence = queue.CreateFence(&fence_desc); dawn::Fence fence = queue.CreateFence(&fence_desc);
EXPECT_EQ(fence.GetCompletedValue(), 0u); EXPECT_EQ(fence.GetCompletedValue(), 0u);
} }
{ {
dawn::FenceDescriptor fence_desc{nullptr, 2}; dawn::FenceDescriptor fence_desc{nullptr, nullptr, 2};
dawn::Fence fence = queue.CreateFence(&fence_desc); dawn::Fence fence = queue.CreateFence(&fence_desc);
EXPECT_EQ(fence.GetCompletedValue(), 2u); EXPECT_EQ(fence.GetCompletedValue(), 2u);
} }
...@@ -75,7 +75,7 @@ TEST_F(WebGPUFenceTest, GetCompletedValue) { ...@@ -75,7 +75,7 @@ TEST_F(WebGPUFenceTest, GetCompletedValue) {
} }
dawn::Device device = dawn::Device::Acquire(webgpu()->GetDefaultDevice()); dawn::Device device = dawn::Device::Acquire(webgpu()->GetDefaultDevice());
dawn::Queue queue = device.CreateQueue(); dawn::Queue queue = device.CreateQueue();
dawn::FenceDescriptor fence_desc{nullptr, 0}; dawn::FenceDescriptor fence_desc{nullptr, nullptr, 0};
dawn::Fence fence = queue.CreateFence(&fence_desc); dawn::Fence fence = queue.CreateFence(&fence_desc);
queue.Signal(fence, 2u); queue.Signal(fence, 2u);
WaitForFence(device, fence, 2u); WaitForFence(device, fence, 2u);
...@@ -91,7 +91,7 @@ TEST_F(WebGPUFenceTest, OnCompletion) { ...@@ -91,7 +91,7 @@ TEST_F(WebGPUFenceTest, OnCompletion) {
} }
dawn::Device device = dawn::Device::Acquire(webgpu()->GetDefaultDevice()); dawn::Device device = dawn::Device::Acquire(webgpu()->GetDefaultDevice());
dawn::Queue queue = device.CreateQueue(); dawn::Queue queue = device.CreateQueue();
dawn::FenceDescriptor fence_desc{nullptr, 0}; dawn::FenceDescriptor fence_desc{nullptr, nullptr, 0};
dawn::Fence fence = queue.CreateFence(&fence_desc); dawn::Fence fence = queue.CreateFence(&fence_desc);
queue.Signal(fence, 2u); queue.Signal(fence, 2u);
...@@ -110,7 +110,7 @@ TEST_F(WebGPUFenceTest, SignalManyTimes) { ...@@ -110,7 +110,7 @@ TEST_F(WebGPUFenceTest, SignalManyTimes) {
} }
dawn::Device device = dawn::Device::Acquire(webgpu()->GetDefaultDevice()); dawn::Device device = dawn::Device::Acquire(webgpu()->GetDefaultDevice());
dawn::Queue queue = device.CreateQueue(); dawn::Queue queue = device.CreateQueue();
dawn::FenceDescriptor fence_desc{nullptr, 0}; dawn::FenceDescriptor fence_desc{nullptr, nullptr, 0};
dawn::Fence fence = queue.CreateFence(&fence_desc); dawn::Fence fence = queue.CreateFence(&fence_desc);
uint64_t max_value = 1000000u; uint64_t max_value = 1000000u;
......
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