aboutsummaryrefslogtreecommitdiff
path: root/flowy/src/motion/dec.rs
diff options
context:
space:
mode:
Diffstat (limited to 'flowy/src/motion/dec.rs')
-rw-r--r--flowy/src/motion/dec.rs33
1 files changed, 33 insertions, 0 deletions
diff --git a/flowy/src/motion/dec.rs b/flowy/src/motion/dec.rs
new file mode 100644
index 0000000..84aeff7
--- /dev/null
+++ b/flowy/src/motion/dec.rs
@@ -0,0 +1,33 @@
+pub struct MotionDecoder {}
+
+/*
+BindGroupLayoutEntry {
+ binding: 0,
+ count: None,
+ ty: wgpu::BindingType::StorageTexture {
+ access: wgpu::StorageTextureAccess::WriteOnly,
+ format: TextureFormat::Bgra8Unorm,
+ view_dimension: wgpu::TextureViewDimension::D2,
+ },
+ visibility: ShaderStages::COMPUTE,
+ },
+ BindGroupLayoutEntry {
+ binding: 1,
+ count: None,
+ ty: BindingType::Texture {
+ sample_type: TextureSampleType::Float { filterable: false },
+ view_dimension: TextureViewDimension::D2,
+ multisampled: false,
+ },
+ visibility: ShaderStages::COMPUTE,
+ },
+ BindGroupLayoutEntry {
+ binding: 2,
+ count: None,
+ ty: BindingType::Texture {
+ sample_type: TextureSampleType::Float { filterable: false },
+ view_dimension: TextureViewDimension::D2,
+ multisampled: false,
+ },
+ visibility: ShaderStages::COMPUTE,
+ }, */