summaryrefslogtreecommitdiffstats
path: root/source/slang-wasm/slang-wasm-bindings.cpp
Commit message (Collapse)AuthorAge
* Reflection API Wasm Bindings Part1 (#5936)arya2024-12-24
| | | | | | | | | | | | | * add a lot of missing classes, functios and enums * typescript defintion generation * formatting * format code --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
* Fix WGSL emit for '&' and add bindings for thread group size (#5557)Sai Praveen Bangaru2024-11-13
| | | Co-authored-by: Yong He <yonghe@outlook.com>
* Add wasm binding to get reflection json. (#5536)Yong He2024-11-12
| | | Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
* Use automatic coarse grained memory management in wasm binding. (#5528)Yong He2024-11-08
|
* [WGSL] [WASM] Add reflection endpoints + Fix bit manipulation operations (#5499)Sai Praveen Bangaru2024-11-08
| | | | | | | | | | | | | | | | * Add key reflection endpoints for WASM * Fix WGSL output around bit-manipulation operators * format code * Fix pointer ownership * fix formatting --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> Co-authored-by: Yong He <yonghe@outlook.com>
* Add function of getting hash string to wasm binding (#5468)kaizhangNV2024-10-31
| | | | | | | * [wasm]: Add function to get string from hash * Fix bug on the visibility issue * Formatting
* formatEllie Hermaszewska2024-10-29
| | | | | | | * format * Minor test fixes * enable checking cpp format in ci
* More wasm binding for playground. (#5420)Yong He2024-10-28
|
* Export language server to wasm. (#5419)Yong He2024-10-27
|
* wasm: Add compile target option when creating slang session (#5403)kaizhangNV2024-10-24
| | | | | | | | | | | | | * wasm: Add compile target option when creating slang session Also add a new interface to return spirv code which is binary, because 'std::string ComponentType::getEntryPointCode' is not suitable for returning the binary data. We use a more standard way that wrap the binary data by using emscripten::val as the return type. * Add target of metal
* Add 'findAndCheckEntryPoint' to wasm binding (#5337)kaizhangNV2024-10-17
|
* Add slang-wasm target (#5237)Anders Leino2024-10-11
Support for exceptions is enabled, since Slang uses them for diagnostics. The size optimization arguments ('-Os') resolves some internal emscripten error during the slang-wasm.wasm linking step, which happens when enabling exceptions. ("parse exception: too many locals")