You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even after specifying a required feature in GPUDeviceDescriptor, the device's feature field contains no feature. Not only that, in my case, timestamp query related things seem to fail silently (but can be patched to throw the errors).
Repro 1, device.features don't contain the required feature
constadapter=(awaitnavigator.gpu.requestAdapter())!;console.log("adapter has timestamp query feature:",adapter.features.has("timestamp-query"));constdevice=(awaitadapter.requestDevice({requiredFeatures: ["timestamp-query"],}))!;console.log("device has timestamp query feature:",device.features.includes("timestamp-query"));
Output:
Repro 2, device.createQuerySet silently fails in validation
Even after specifying a required feature in
GPUDeviceDescriptor
, the device's feature field contains no feature. Not only that, in my case, timestamp query related things seem to fail silently (but can be patched to throw the errors).Repro 1,
device.features
don't contain the required featureOutput:
Repro 2,
device.createQuerySet
silently fails in validationOutput:
deno: v1.16.0
os: windows
webgpu backend: Vulkan, gpu: Intel
The text was updated successfully, but these errors were encountered: