mirror of
https://github.com/denoland/deno.git
synced 2025-09-30 14:11:14 +00:00
feat(core): codegen ops (#13861)
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
This commit is contained in:
parent
4e3ed37037
commit
b4e42953e1
78 changed files with 1754 additions and 1664 deletions
|
@ -1,6 +1,7 @@
|
|||
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
|
||||
|
||||
use deno_core::error::AnyError;
|
||||
use deno_core::op;
|
||||
use deno_core::ResourceId;
|
||||
use deno_core::{OpState, Resource};
|
||||
use serde::Deserialize;
|
||||
|
@ -24,6 +25,7 @@ pub struct CreateShaderModuleArgs {
|
|||
_source_map: Option<()>, // not yet implemented
|
||||
}
|
||||
|
||||
#[op]
|
||||
pub fn op_webgpu_create_shader_module(
|
||||
state: &mut OpState,
|
||||
args: CreateShaderModuleArgs,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue