cocos-engine
cocos-engine copied to clipboard
Wgpu 3.6.0
Re: # free to try https://github.com/cocos/3d-tasks/issues/13520
everything up-to-date: emsdk 3.1.17, chromium 105.
- [ ] sth wrong in this test case:
testlist
, try to figure out how to deal with copyWebPngToNativeTexture. - [ ] mem leak either in wgpu native or wasm, working on it.
Interface Check Report
! WARNING this pull request has changed these public interfaces:
@@ -38506,8 +38506,11 @@
copyBuffersToTexture(buffers: Readonly<ArrayBufferView[]>, texture: gfx.Texture, regions: Readonly<gfx.BufferTextureCopy[]>): void;
copyTextureToBuffers(texture: Readonly<gfx.Texture>, buffers: ArrayBufferView[], regions: Readonly<gfx.BufferTextureCopy[]>): void;
copyTexImagesToTexture(texImages: Readonly<TexImageSource[]>, texture: gfx.Texture, regions: Readonly<gfx.BufferTextureCopy[]>): void;
}
+ export namespace webgpudef {
+ export function seperateCombinedSamplerTexture(shaderSource: string): string;
+ }
/**
* @en Intersection2D helper class
* @zh 辅助类,用于测试形状与形状是否相交
* @class Intersection2D
those changes like in texture-2d.ts
should be removed, they were used to work with c++ native object export by emscripten, it's out-dated.