Skip to content

Commit 19ba5f2

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 .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>
1 parent 7c5239c commit 19ba5f2

8 files changed

Lines changed: 1086 additions & 0 deletions

File tree

‎apps/example/.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ dist/*
1414
local.properties
1515
msbuild.binlog
1616
node_modules/
17+
18+
# CTS files (copied from WebGPU CTS repo via scripts/sync-cts.sh)
19+
src/webgpu-cts/src/

‎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)