diff options
author | metamuffin <metamuffin@disroot.org> | 2023-11-18 14:49:17 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-11-18 14:49:17 +0100 |
commit | cdb9a3afabe7a239a08c640b19242ff9b1e3b051 (patch) | |
tree | 4903a248c588ce350feb74640ded3335e1721915 /flowy/src/motion/dec.rs | |
parent | 14051d7470d7662430694f0752d00483b52e1278 (diff) | |
download | video-codec-experiments-cdb9a3afabe7a239a08c640b19242ff9b1e3b051.tar video-codec-experiments-cdb9a3afabe7a239a08c640b19242ff9b1e3b051.tar.bz2 video-codec-experiments-cdb9a3afabe7a239a08c640b19242ff9b1e3b051.tar.zst |
debug view
Diffstat (limited to 'flowy/src/motion/dec.rs')
-rw-r--r-- | flowy/src/motion/dec.rs | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/flowy/src/motion/dec.rs b/flowy/src/motion/dec.rs index 518fbd2..e62347c 100644 --- a/flowy/src/motion/dec.rs +++ b/flowy/src/motion/dec.rs @@ -66,7 +66,7 @@ impl MotionDecoder { count: None, ty: BindingType::StorageTexture { access: wgpu::StorageTextureAccess::WriteOnly, - format: wgpu::TextureFormat::Bgra8Unorm, + format: wgpu::TextureFormat::Rgba8Unorm, view_dimension: TextureViewDimension::D2, }, visibility: ShaderStages::COMPUTE, @@ -153,35 +153,3 @@ impl MotionDecoder { cpass.dispatch_workgroups(params.blocks_x as u32, params.blocks_y as u32, 1); } } - -/* -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, - }, */ |