mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 23:04:45 -05:00
fix(ext/webgpu): Create GPUQuerySet converter before usage (#26883)
Converter for `GPUComputePassTimestampWrites` uses converter for `GPUQuerySet` before it is defined making it impossible to use. This PR simply reorders converter creation to resolve this issue. Logging the `GPUQuerySet` still fails (as mentioned in #26769) but it is now usable inside pass descriptors and works when used.
This commit is contained in:
parent
56df61677e
commit
80098bfeab
1 changed files with 6 additions and 6 deletions
|
@ -6982,6 +6982,12 @@ webidl.converters.GPUComputePassEncoder = webidl.createInterfaceConverter(
|
|||
GPUComputePassEncoder.prototype,
|
||||
);
|
||||
|
||||
// INTERFACE: GPUQuerySet
|
||||
webidl.converters.GPUQuerySet = webidl.createInterfaceConverter(
|
||||
"GPUQuerySet",
|
||||
GPUQuerySet.prototype,
|
||||
);
|
||||
|
||||
// DICTIONARY: GPUComputePassTimestampWrites
|
||||
webidl.converters["GPUComputePassTimestampWrites"] = webidl
|
||||
.createDictionaryConverter(
|
||||
|
@ -7154,12 +7160,6 @@ webidl.converters["GPURenderPassDepthStencilAttachment"] = webidl
|
|||
dictMembersGPURenderPassDepthStencilAttachment,
|
||||
);
|
||||
|
||||
// INTERFACE: GPUQuerySet
|
||||
webidl.converters.GPUQuerySet = webidl.createInterfaceConverter(
|
||||
"GPUQuerySet",
|
||||
GPUQuerySet.prototype,
|
||||
);
|
||||
|
||||
// DICTIONARY: GPURenderPassTimestampWrites
|
||||
webidl.converters["GPURenderPassTimestampWrites"] = webidl
|
||||
.createDictionaryConverter(
|
||||
|
|
Loading…
Reference in a new issue