Skip to content

Conversation

@wcandillon
Copy link
Owner

Add support for running the WebGPU Conformance Test Suite in React Native:

  • Add sync-cts.sh script to copy and adapt CTS files for Metro bundler
  • Add CTSScreen component with UI for running tests
  • Add React Native runtime (loader.ts, runtime.ts) for CTS execution
  • Add polyfills for Event, EventTarget, MessageEvent
  • Stub Node.js-specific code (fs, perf_hooks)
  • Generate static imports for all spec files (Metro doesn't support dynamic imports)

@wcandillon wcandillon marked this pull request as draft January 20, 2026 08:42
Add support for running the WebGPU Conformance Test Suite in React Native:

- Add sync-cts.sh script to copy and adapt CTS files for Metro bundler
- Add CTSScreen component with UI for running tests
- Add .gitignore entry for CTS source files (should be synced locally)
- Add README with setup instructions

Note: CTS source files are not committed. Run scripts/sync-cts.sh to
copy them from a local clone of the WebGPU CTS repository.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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