diff options
author | metamuffin <metamuffin@disroot.org> | 2024-01-24 02:16:03 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-01-24 02:16:03 +0100 |
commit | 330cbef6f1953de3e1cbeb5aed03e951bc101965 (patch) | |
tree | fc4566dc27ac3d6487fbfe125166335324fd7d88 /flowy/src/motion/debug.wgsl | |
parent | 754ebf34cbb6280ef77421e1ca54d35d727dc6f7 (diff) | |
download | video-codec-experiments-330cbef6f1953de3e1cbeb5aed03e951bc101965.tar video-codec-experiments-330cbef6f1953de3e1cbeb5aed03e951bc101965.tar.bz2 video-codec-experiments-330cbef6f1953de3e1cbeb5aed03e951bc101965.tar.zst |
fix it?
Diffstat (limited to 'flowy/src/motion/debug.wgsl')
-rw-r--r-- | flowy/src/motion/debug.wgsl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/flowy/src/motion/debug.wgsl b/flowy/src/motion/debug.wgsl index 7da5c57..d2c56a4 100644 --- a/flowy/src/motion/debug.wgsl +++ b/flowy/src/motion/debug.wgsl @@ -29,6 +29,18 @@ struct BlockOffset { textureStore(out, base, col); } } + + // for (var x = 0; x < params.block_size.x; x++) { + // for (var y = 0; y < params.block_size.y; y++) { + // let base = uv + vec2(x, y); + // let col_dec = textureLoad(prev, base + bl.offset, 0) + vec4(bl.tint, 1.); + // let col_orig = textureLoad(next, base, 0); + + // let col = vec4( saturate((0.5) + (col_orig.rgb - col_dec.rgb) * 100.), 1.0); + + // textureStore(out, base, col); + // } + // } } |