From ebd59fb09a4e094701f195d86662e1a9d00fed2b Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 18 Nov 2023 02:08:41 +0100 Subject: rudimentary mcomp --- flowy/src/motion/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'flowy/src/motion/mod.rs') diff --git a/flowy/src/motion/mod.rs b/flowy/src/motion/mod.rs index acb1396..558b8d1 100644 --- a/flowy/src/motion/mod.rs +++ b/flowy/src/motion/mod.rs @@ -1,3 +1,4 @@ +pub mod debug; pub mod dec; pub mod enc; @@ -13,6 +14,8 @@ pub struct Params { pub extent: Extent3d, pub block_width: usize, pub block_height: usize, + pub blocks_x: usize, + pub blocks_y: usize, pub blocks: usize, } @@ -46,6 +49,7 @@ impl CommonBuffers { dimension: TextureDimension::D2, format: TextureFormat::Bgra8Unorm, usage: TextureUsages::TEXTURE_BINDING + | TextureUsages::STORAGE_BINDING | TextureUsages::COPY_DST | TextureUsages::COPY_SRC, view_formats: &[], -- cgit v1.2.3-70-g09d2