summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-02-20 17:48:02 +0100
committerGitHub <noreply@github.com>2023-02-20 16:48:02 +0000
commita16c11c5d10052c688ba4c2eca09fd1a225e395a (patch)
tree34fb4b4fb028ca2c19a0d7059915f86a5d511540
parent6915a9b7a701dde0e1078867961c9a91811c1850 (diff)
refactor: move webgpu files to ext root (#17832)
Required for #17826
-rw-r--r--ext/webgpu/01_webgpu.js (renamed from ext/webgpu/src/01_webgpu.js)0
-rw-r--r--ext/webgpu/02_idl_types.js (renamed from ext/webgpu/src/02_idl_types.js)0
-rw-r--r--ext/webgpu/03_surface.js (renamed from ext/webgpu/src/03_surface.js)0
-rw-r--r--ext/webgpu/04_surface_idl_types.js (renamed from ext/webgpu/src/04_surface_idl_types.js)0
-rw-r--r--ext/webgpu/Cargo.toml3
-rw-r--r--ext/webgpu/binding.rs (renamed from ext/webgpu/src/binding.rs)0
-rw-r--r--ext/webgpu/buffer.rs (renamed from ext/webgpu/src/buffer.rs)0
-rw-r--r--ext/webgpu/bundle.rs (renamed from ext/webgpu/src/bundle.rs)0
-rw-r--r--ext/webgpu/command_encoder.rs (renamed from ext/webgpu/src/command_encoder.rs)0
-rw-r--r--ext/webgpu/compute_pass.rs (renamed from ext/webgpu/src/compute_pass.rs)0
-rw-r--r--ext/webgpu/error.rs (renamed from ext/webgpu/src/error.rs)0
-rw-r--r--ext/webgpu/lib.rs (renamed from ext/webgpu/src/lib.rs)0
-rw-r--r--ext/webgpu/pipeline.rs (renamed from ext/webgpu/src/pipeline.rs)0
-rw-r--r--ext/webgpu/queue.rs (renamed from ext/webgpu/src/queue.rs)0
-rw-r--r--ext/webgpu/render_pass.rs (renamed from ext/webgpu/src/render_pass.rs)0
-rw-r--r--ext/webgpu/sampler.rs (renamed from ext/webgpu/src/sampler.rs)0
-rw-r--r--ext/webgpu/shader.rs (renamed from ext/webgpu/src/shader.rs)0
-rw-r--r--ext/webgpu/surface.rs (renamed from ext/webgpu/src/surface.rs)0
-rw-r--r--ext/webgpu/texture.rs (renamed from ext/webgpu/src/texture.rs)0
19 files changed, 3 insertions, 0 deletions
diff --git a/ext/webgpu/src/01_webgpu.js b/ext/webgpu/01_webgpu.js
index 3e8e3161e..3e8e3161e 100644
--- a/ext/webgpu/src/01_webgpu.js
+++ b/ext/webgpu/01_webgpu.js
diff --git a/ext/webgpu/src/02_idl_types.js b/ext/webgpu/02_idl_types.js
index e3ae7fb03..e3ae7fb03 100644
--- a/ext/webgpu/src/02_idl_types.js
+++ b/ext/webgpu/02_idl_types.js
diff --git a/ext/webgpu/src/03_surface.js b/ext/webgpu/03_surface.js
index 12b919a27..12b919a27 100644
--- a/ext/webgpu/src/03_surface.js
+++ b/ext/webgpu/03_surface.js
diff --git a/ext/webgpu/src/04_surface_idl_types.js b/ext/webgpu/04_surface_idl_types.js
index cd6dabffc..cd6dabffc 100644
--- a/ext/webgpu/src/04_surface_idl_types.js
+++ b/ext/webgpu/04_surface_idl_types.js
diff --git a/ext/webgpu/Cargo.toml b/ext/webgpu/Cargo.toml
index 561425395..6058cbe3c 100644
--- a/ext/webgpu/Cargo.toml
+++ b/ext/webgpu/Cargo.toml
@@ -10,6 +10,9 @@ readme = "README.md"
repository = "https://github.com/gfx-rs/wgpu"
description = "WebGPU implementation for Deno"
+[lib]
+path = "lib.rs"
+
[features]
surface = ["wgpu-core/raw-window-handle", "dep:raw-window-handle"]
diff --git a/ext/webgpu/src/binding.rs b/ext/webgpu/binding.rs
index 4c4a864fd..4c4a864fd 100644
--- a/ext/webgpu/src/binding.rs
+++ b/ext/webgpu/binding.rs
diff --git a/ext/webgpu/src/buffer.rs b/ext/webgpu/buffer.rs
index 58348129e..58348129e 100644
--- a/ext/webgpu/src/buffer.rs
+++ b/ext/webgpu/buffer.rs
diff --git a/ext/webgpu/src/bundle.rs b/ext/webgpu/bundle.rs
index 3d0f11d89..3d0f11d89 100644
--- a/ext/webgpu/src/bundle.rs
+++ b/ext/webgpu/bundle.rs
diff --git a/ext/webgpu/src/command_encoder.rs b/ext/webgpu/command_encoder.rs
index eb534f6bc..eb534f6bc 100644
--- a/ext/webgpu/src/command_encoder.rs
+++ b/ext/webgpu/command_encoder.rs
diff --git a/ext/webgpu/src/compute_pass.rs b/ext/webgpu/compute_pass.rs
index 8132b450c..8132b450c 100644
--- a/ext/webgpu/src/compute_pass.rs
+++ b/ext/webgpu/compute_pass.rs
diff --git a/ext/webgpu/src/error.rs b/ext/webgpu/error.rs
index 41d7d6cf3..41d7d6cf3 100644
--- a/ext/webgpu/src/error.rs
+++ b/ext/webgpu/error.rs
diff --git a/ext/webgpu/src/lib.rs b/ext/webgpu/lib.rs
index 68069c133..68069c133 100644
--- a/ext/webgpu/src/lib.rs
+++ b/ext/webgpu/lib.rs
diff --git a/ext/webgpu/src/pipeline.rs b/ext/webgpu/pipeline.rs
index 2e728d8d9..2e728d8d9 100644
--- a/ext/webgpu/src/pipeline.rs
+++ b/ext/webgpu/pipeline.rs
diff --git a/ext/webgpu/src/queue.rs b/ext/webgpu/queue.rs
index dd78899e3..dd78899e3 100644
--- a/ext/webgpu/src/queue.rs
+++ b/ext/webgpu/queue.rs
diff --git a/ext/webgpu/src/render_pass.rs b/ext/webgpu/render_pass.rs
index ee38091bc..ee38091bc 100644
--- a/ext/webgpu/src/render_pass.rs
+++ b/ext/webgpu/render_pass.rs
diff --git a/ext/webgpu/src/sampler.rs b/ext/webgpu/sampler.rs
index b377f6835..b377f6835 100644
--- a/ext/webgpu/src/sampler.rs
+++ b/ext/webgpu/sampler.rs
diff --git a/ext/webgpu/src/shader.rs b/ext/webgpu/shader.rs
index 242cb85ba..242cb85ba 100644
--- a/ext/webgpu/src/shader.rs
+++ b/ext/webgpu/shader.rs
diff --git a/ext/webgpu/src/surface.rs b/ext/webgpu/surface.rs
index 8304427b9..8304427b9 100644
--- a/ext/webgpu/src/surface.rs
+++ b/ext/webgpu/surface.rs
diff --git a/ext/webgpu/src/texture.rs b/ext/webgpu/texture.rs
index c4b36c288..c4b36c288 100644
--- a/ext/webgpu/src/texture.rs
+++ b/ext/webgpu/texture.rs