Skip to content

Conversation

@j8asic
Copy link

@j8asic j8asic commented Dec 27, 2025

Added support for compiling slang-rhi using Emscripten (WASM), while enabling the WebGPU backend and handling dependencies for the web platform:

  • Added logic to detect emscripten
  • enable SLANG_RHI_HAS_WGPU and disable incompatible native APIs when building for Emscripten
  • Skipped fetching the native Dawn binary package when building for Emscripten
  • target_compile_options use modern --use-port=emdawnwebgpu for Emscripten builds
  • core rhi code switches between dawn/emscripten functionality

@j8asic j8asic requested a review from a team as a code owner December 27, 2025 12:07
@CLAassistant
Copy link

CLAassistant commented Dec 27, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants