From e2378ca547a9a17333970502916ade4689db07d9 Mon Sep 17 00:00:00 2001 From: Aleksi Sapon Date: Tue, 13 Apr 2021 18:19:30 -0400 Subject: [PATCH] Fix binding for wgpuDeviceCreateQuerySet (#13886) --- AUTHORS | 1 + src/library_webgpu.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 7b0214a5e..89c881e1a 100644 --- a/AUTHORS +++ b/AUTHORS @@ -554,3 +554,4 @@ a license to everyone to use it as detailed in LICENSE.) * Jakub Nowakowski * Andrew Brown (copyright owned by Intel Corporation) * Rafael Brune +* Aleksi Sapon (copyright owned by FARO Technologies, Inc.) diff --git a/src/library_webgpu.js b/src/library_webgpu.js index 56f6a4165..733ae0aa3 100644 --- a/src/library_webgpu.js +++ b/src/library_webgpu.js @@ -897,7 +897,7 @@ var LibraryWebGPU = { }; var device = WebGPU["mgrDevice"].get(deviceId); - device["createQuerySet"](descriptor); + return WebGPU.mgrQuerySet.create(device["createQuerySet"](desc)); }, wgpuDeviceCreateComputePipeline: function(deviceId, descriptor) {