cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

Wgpu 3.6.0

Open hana-alice opened this issue 1 year ago • 2 comments

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.

hana-alice avatar Aug 04 '22 02:08 hana-alice

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

github-actions[bot] avatar Aug 04 '22 02:08 github-actions[bot]

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.

hana-alice avatar Aug 04 '22 02:08 hana-alice