Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm: Add compile target option when creating slang session #5403

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

kaizhangNV
Copy link
Contributor

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.

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.
@kaizhangNV kaizhangNV self-assigned this Oct 24, 2024
@kaizhangNV kaizhangNV added the pr: non-breaking PRs without breaking changes label Oct 24, 2024
csyonghe
csyonghe previously approved these changes Oct 24, 2024
source/slang-wasm/slang-wasm.cpp Show resolved Hide resolved
@kaizhangNV kaizhangNV merged commit 46b8ab8 into shader-slang:master Oct 24, 2024
13 checks passed
@kaizhangNV kaizhangNV deleted the try-webgpu branch October 25, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants