summaryrefslogtreecommitdiff
path: root/extensions/webgpu/pipeline.rs
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2021-07-08 11:07:49 +0200
committerGitHub <noreply@github.com>2021-07-08 11:07:49 +0200
commit215f6f2c9e0522c7c8d794f35713225884540cd7 (patch)
treebc520f0abb813bb22c32dc9fa13e87cb0544bf7b /extensions/webgpu/pipeline.rs
parentce587a15daa7238db3cf8d3dee9d41a71bc2fc6a (diff)
chore: update wgpu to 0.9.0 (#11315)
Diffstat (limited to 'extensions/webgpu/pipeline.rs')
-rw-r--r--extensions/webgpu/pipeline.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/webgpu/pipeline.rs b/extensions/webgpu/pipeline.rs
index f2c1abc74..6d11179a4 100644
--- a/extensions/webgpu/pipeline.rs
+++ b/extensions/webgpu/pipeline.rs
@@ -153,6 +153,7 @@ fn serialize_blend_component(
struct GpuProgrammableStage {
module: u32,
entry_point: String,
+ // constants: HashMap<String, GPUPipelineConstantValue>
}
#[derive(Deserialize)]
@@ -197,6 +198,7 @@ pub fn op_webgpu_create_compute_pipeline(
stage: wgpu_core::pipeline::ProgrammableStageDescriptor {
module: compute_shader_module_resource.0,
entry_point: Cow::from(args.compute.entry_point),
+ // TODO(lucacasonato): support args.compute.constants
},
};
let implicit_pipelines = match args.layout {