@@ -2196,7 +2196,7 @@ var LibraryWebGPU = {
2196
2196
#endif
2197
2197
2198
2198
var bundles = Array . from ( HEAP32 . subarray ( bundlesPtr >> 2 , ( bundlesPtr >> 2 ) + count ) ,
2199
- function ( id ) { return WebGPU . mgrRenderBundle . get ( id ) ; } ) ;
2199
+ ( id ) => WebGPU . mgrRenderBundle . get ( id ) ) ;
2200
2200
pass [ "executeBundles" ] ( bundles ) ;
2201
2201
} ,
2202
2202
@@ -2582,23 +2582,22 @@ var LibraryWebGPU = {
2582
2582
var device = WebGPU . mgrDevice . get ( deviceId ) ;
2583
2583
var context = WebGPU . mgrSurface . get ( surfaceId ) ;
2584
2584
2585
-
2586
2585
#if ASSERTIONS
2587
2586
assert ( { { { gpu . PresentMode . Fifo } } } ===
2588
2587
{ { { gpu . makeGetU32 ( 'descriptor ', C_STRUCTS . WGPUSwapChainDescriptor . presentMode ) } } } ) ;
2589
2588
#endif
2590
2589
2591
2590
var canvasSize = [
2592
- { { { gpu . makeGetU32 ( 'descriptor' , C_STRUCTS . WGPUSwapChainDescriptor . width) } } } ,
2593
- { { { gpu . makeGetU32 ( 'descriptor' , C_STRUCTS . WGPUSwapChainDescriptor . height) } } }
2591
+ { { { gpu . makeGetU32 ( 'descriptor' , C_STRUCTS . WGPUSwapChainDescriptor . width) } } } ,
2592
+ { { { gpu . makeGetU32 ( 'descriptor' , C_STRUCTS . WGPUSwapChainDescriptor . height) } } }
2594
2593
] ;
2595
2594
2596
2595
if ( canvasSize [ 0 ] ! == 0 ) {
2597
- context [ "canvas" ] [ "width" ] = canvasSize [ 0 ] ;
2596
+ context [ "canvas" ] [ "width" ] = canvasSize [ 0 ] ;
2598
2597
}
2599
2598
2600
2599
if ( canvasSize [ 1 ] ! == 0 ) {
2601
- context [ "canvas" ] [ "height" ] = canvasSize [ 1 ] ;
2600
+ context [ "canvas" ] [ "height" ] = canvasSize [ 1 ] ;
2602
2601
}
2603
2602
2604
2603
var configuration = {
@@ -2642,6 +2641,7 @@ for (var value in LibraryWebGPU.$WebGPU.FeatureName) {
2642
2641
2643
2642
for ( const key of Object . keys ( LibraryWebGPU ) ) {
2644
2643
LibraryWebGPU [ key + '__i53abi' ] = true ;
2644
+ LibraryWebGPU [ key + '__proxy' ] = 'sync' ;
2645
2645
}
2646
2646
2647
2647
autoAddDeps ( LibraryWebGPU , '$WebGPU' ) ;
0 commit comments