summaryrefslogtreecommitdiff
path: root/ext/webgpu/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webgpu/lib.rs')
-rw-r--r--ext/webgpu/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/webgpu/lib.rs b/ext/webgpu/lib.rs
index abb36fb8d..99c8fcf6b 100644
--- a/ext/webgpu/lib.rs
+++ b/ext/webgpu/lib.rs
@@ -67,6 +67,7 @@ mod macros {
pub mod binding;
pub mod buffer;
pub mod bundle;
+pub mod byow;
pub mod command_encoder;
pub mod compute_pass;
pub mod error;
@@ -214,7 +215,9 @@ deno_core::extension!(
// surface
surface::op_webgpu_surface_configure,
surface::op_webgpu_surface_get_current_texture,
- surface::op_webgpu_surface_present
+ surface::op_webgpu_surface_present,
+ // byow
+ byow::op_webgpu_surface_create,
],
esm = ["00_init.js", "02_surface.js"],
lazy_loaded_esm = ["01_webgpu.js"],