mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
Make fence descriptor optional
Bug: dawn:22 Change-Id: I5d14aa8e12899eb577d7c50081a6ee6f7ec248a0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/21365 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
a6cf7b5b1d
commit
a1800c04f3
@@ -78,6 +78,12 @@ TEST_F(FenceValidationTest, CreationSuccess) {
|
||||
}
|
||||
}
|
||||
|
||||
// Creation succeeds if no descriptor is provided
|
||||
TEST_F(FenceValidationTest, DefaultDescriptor) {
|
||||
wgpu::Fence fence = queue.CreateFence();
|
||||
EXPECT_EQ(fence.GetCompletedValue(), 0u);
|
||||
}
|
||||
|
||||
TEST_F(FenceValidationTest, GetCompletedValue) {
|
||||
// Starts at initial value
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user