File tree Expand file tree Collapse file tree 5 files changed +22
-28
lines changed Expand file tree Collapse file tree 5 files changed +22
-28
lines changed Original file line number Diff line number Diff line change 28
28
"@types/seedrandom" : " ^2.4.28" ,
29
29
"@types/semver" : " ^7.3.9" ,
30
30
"@types/shelljs" : " ^0.8.7" ,
31
- "@webgpu/types" : " 0.1.30" ,
31
+ "@types/dom-webcodecs" : " 0.1.4" ,
32
+ "@webgpu/types" : " 0.1.38" ,
32
33
"ajv" : " ~6.12.3" ,
33
34
"argparse" : " ^1.0.10" ,
34
35
"chalk" : " ~2.4.2" ,
Original file line number Diff line number Diff line change @@ -651,7 +651,7 @@ export class WebGPUBackend extends KernelBackend {
651
651
console . warn (
652
652
`This device doesn't support timestamp-query extension. ` +
653
653
`Start Chrome browser with flag ` +
654
- `--disable -dawn-features=disallow_unsafe_apis to try it again. ` +
654
+ `--enable -dawn-features=allow_unsafe_apis to try it again. ` +
655
655
`Otherwise, zero will be shown for the kernel time when profiling ` +
656
656
`mode is enabled.` ) ;
657
657
this . hasTimestampQueryWarned = true ;
@@ -962,18 +962,11 @@ export class WebGPUBackend extends KernelBackend {
962
962
count : this . querySetCount ,
963
963
} ) ;
964
964
}
965
- computePassDescriptor . timestampWrites = [
966
- {
967
- querySet : this . querySet ,
968
- queryIndex : 0 ,
969
- location : 'beginning' ,
970
- } ,
971
- {
972
- querySet : this . querySet ,
973
- queryIndex : 1 ,
974
- location : 'end' ,
975
- }
976
- ] ;
965
+ computePassDescriptor . timestampWrites = {
966
+ querySet : this . querySet ,
967
+ beginningOfPassWriteIndex : 0 ,
968
+ endOfPassWriteIndex : 1 ,
969
+ } ;
977
970
this . computePassEncoder =
978
971
this . commandEncoder . beginComputePass ( computePassDescriptor ) ;
979
972
} else if ( ! this . computePassEncoder ) {
Original file line number Diff line number Diff line change 40
40
"@types/long" : " ^4.0.1" ,
41
41
"@types/offscreencanvas" : " ~2019.7.0" ,
42
42
"@types/seedrandom" : " ^2.4.28" ,
43
- "@webgpu/types" : " 0.1.30 " ,
43
+ "@webgpu/types" : " 0.1.38 " ,
44
44
"long" : " 4.0.0" ,
45
45
"node-fetch" : " ~2.6.1" ,
46
46
"seedrandom" : " ^3.0.5"
Original file line number Diff line number Diff line change 27
27
resolved "https://registry.yarnpkg.com/@types/seedrandom/-/seedrandom-2.4.30.tgz#d2efe425869b84163c2d56e779dddadb9372cbfa"
28
28
integrity sha512-AnxLHewubLVzoF/A4qdxBGHCKifw8cY32iro3DQX9TPcetE95zBeVt3jnsvtvAUf1vwzMfwzp4t/L2yqPlnjkQ==
29
29
30
-
31
- version "0.0.30"
32
- resolved "https://registry.yarnpkg.com/@types/webgl-ext/-/webgl-ext-0.0.30.tgz#0ce498c16a41a23d15289e0b844d945b25f0fb9d"
33
- integrity sha512-LKVgNmBxN0BbljJrVUwkxwRYqzsAEPcZOe6S2T6ZaBDIrFp0qu4FNlpc5sM1tGbXUYFgdVQIoeLk1Y1UoblyEg==
34
-
35
-
36
- version "0.1.30"
37
- resolved "https://registry.npmjs.org/@webgpu/types/-/types-0.1.30.tgz#b6406dc4a1c1e0d469028ceb30ddffbbd2fa706c"
38
- integrity sha512-9AXJSmL3MzY8ZL//JjudA//q+2kBRGhLBFpkdGksWIuxrMy81nFrCzj2Am+mbh8WoU6rXmv7cY5E3rdlyru2Qg==
30
+
31
+ version "0.1.38"
32
+ resolved "https://registry.npmjs.org/@webgpu/types/-/types-0.1.38.tgz#6fda4b410edc753d3213c648320ebcf319669020"
33
+ integrity sha512-7LrhVKz2PRh+DD7+S+PVaFd5HxaWQvoMqBbsV9fNJO1pjUs1P8bM2vQVNfk+3URTqbuTI7gkXi0rfsN0IadoBA==
39
34
40
35
41
36
version "4.0.0"
Original file line number Diff line number Diff line change 310
310
resolved "https://registry.yarnpkg.com/@types/cors/-/cors-2.8.12.tgz#6b2c510a7ad7039e98e7b8d3d6598f4359e5c080"
311
311
integrity sha512-vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw==
312
312
313
+
314
+ version "0.1.4"
315
+ resolved "https://registry.npmjs.org/@types/dom-webcodecs/-/dom-webcodecs-0.1.4.tgz#90a3dd80e5baf72baa79a74cf410e63863992516"
316
+ integrity sha512-dc+xSUnCaCdi/hExZArnLhiavS3E1Rdpp2+zCI6TcmJvz4qgDPBbpvCM7DsQhwRXIIpVMHO6c3s+t+JyCSqYBA==
317
+
313
318
" @types/emscripten@~0.0.34 " :
314
319
version "0.0.34"
315
320
resolved "https://registry.yarnpkg.com/@types/emscripten/-/emscripten-0.0.34.tgz#12b4a344274fb102ff2f6c877b37587bc3e46008"
508
513
resolved "https://registry.yarnpkg.com/@verdaccio/ui-theme/-/ui-theme-6.0.0-6-next.23.tgz#268da5091e1e9264fe87b8b94c0ac596e9e54879"
509
514
integrity sha512-GXpEPdZJm6o+2VAxzUsKaiDriS+5enqr7Gjrb2Bttcd+IkOuC8lDsoFHxIv0ib4JudZJ/aKsRYL3TN2AetPFjw==
510
515
511
-
512
- version "0.1.30 "
513
- resolved "https://registry.npmjs.org/@webgpu/types/-/types-0.1.30 .tgz#b6406dc4a1c1e0d469028ceb30ddffbbd2fa706c "
514
- integrity sha512-9AXJSmL3MzY8ZL//JjudA//q+2kBRGhLBFpkdGksWIuxrMy81nFrCzj2Am+mbh8WoU6rXmv7cY5E3rdlyru2Qg ==
516
+
517
+ version "0.1.38 "
518
+ resolved "https://registry.npmjs.org/@webgpu/types/-/types-0.1.38 .tgz#6fda4b410edc753d3213c648320ebcf319669020 "
519
+ integrity sha512-7LrhVKz2PRh+DD7+S+PVaFd5HxaWQvoMqBbsV9fNJO1pjUs1P8bM2vQVNfk+3URTqbuTI7gkXi0rfsN0IadoBA ==
515
520
516
521
" @xmldom/xmldom@^0.7.3 " :
517
522
version "0.7.5"
You can’t perform that action at this time.
0 commit comments