Skip to content

Commit

Permalink
update webgpu (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
hana-alice authored Sep 8, 2023
1 parent 6d39435 commit 00e4b6c
Show file tree
Hide file tree
Showing 8 changed files with 120 additions and 141 deletions.
203 changes: 67 additions & 136 deletions emscripten/webgpu/glslang.js
100644 → 100755

Large diffs are not rendered by default.

Binary file modified emscripten/webgpu/glslang.wasm
100644 → 100755
Binary file not shown.
43 changes: 43 additions & 0 deletions emscripten/webgpu/twgsl.js

Large diffs are not rendered by default.

Binary file added emscripten/webgpu/twgsl.wasm
Binary file not shown.
5 changes: 5 additions & 0 deletions emscripten/webgpu/webgpu.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ declare module 'external:emscripten/webgpu/glslang.js' {
function factory (wasmUrl: string): Promise<any>;
export default factory;
}

declare module 'external:emscripten/webgpu/twgsl.js' {
function factory (gfx: any): Promise<any>;
export default factory;
}
8 changes: 4 additions & 4 deletions emscripten/webgpu/webgpu_wasm.js

Large diffs are not rendered by default.

Binary file modified emscripten/webgpu/webgpu_wasm.wasm
100644 → 100755
Binary file not shown.
2 changes: 1 addition & 1 deletion sources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if(NOT USE_MODULES)
endif()

# add dependent boost libs
if(NOT NX)
if((NOT NX) AND (NOT EMSCRIPTEN))
include(${CMAKE_CURRENT_LIST_DIR}/boost-source/boost.cmake)
endif()

Expand Down

0 comments on commit 00e4b6c

Please sign in to comment.