Skip to content

Commit c58bee7

Browse files
wcandillonclaude
andcommitted
feat(🧪): add WebGPU CTS integration for React Native
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) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7c5239c commit c58bee7

936 files changed

Lines changed: 234216 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/example/metro.config.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const customConfig = {
1212
watchFolders: [root],
1313
resolver: {
1414
...defaultConfig.resolver,
15+
sourceExts: [...defaultConfig.resolver.sourceExts, 'cjs'],
1516
extraNodeModules: {
1617
'three': threePackagePath,
1718
},

0 commit comments

Comments
 (0)