Add reflection APIs for wgpu::QuerySet.

Bug: dawn:1451
Change-Id: I8bce40e4fc0c7caca3c3a4b8c385ba8a393a3f1c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92662
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez
2022-06-09 10:12:13 +00:00
committed by Dawn LUCI CQ
parent 5fb759f6e7
commit 45820ae995
13 changed files with 184 additions and 10 deletions

View File

@@ -1126,7 +1126,7 @@ QuerySetBase* DeviceBase::APICreateQuerySet(const QuerySetDescriptor* descriptor
Ref<QuerySetBase> result;
if (ConsumedError(CreateQuerySet(descriptor), &result, "calling %s.CreateQuerySet(%s).", this,
descriptor)) {
return QuerySetBase::MakeError(this);
return QuerySetBase::MakeError(this, descriptor);
}
return result.Detach();
}