aboutsummaryrefslogtreecommitdiff
path: root/flowy/src/motion/dec.rs
blob: 84aeff747cca15f2736c66a8f1ebdf5b90d2b60a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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,
               }, */