diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-04-13 04:40:19 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-04-13 05:01:51 +0200 |
| commit | dbd68ff1396bf498eb97f095810b78d2bddd0011 (patch) | |
| tree | f1d555425899ff1ecb969a94dc1ea5d9b84868f7 /rust/crates/masks/src/shaders/jfa_step.wgsl | |
| parent | 0d0d7375635733435922a697d91601206cc38b68 (diff) | |
| download | opencut-dbd68ff1396bf498eb97f095810b78d2bddd0011.tar.gz | |
refactor: gpu webgl fallback and batched command encoding
Made-with: Cursor
Diffstat (limited to 'rust/crates/masks/src/shaders/jfa_step.wgsl')
| -rw-r--r-- | rust/crates/masks/src/shaders/jfa_step.wgsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/crates/masks/src/shaders/jfa_step.wgsl b/rust/crates/masks/src/shaders/jfa_step.wgsl index e20d7fb0..bf348217 100644 --- a/rust/crates/masks/src/shaders/jfa_step.wgsl +++ b/rust/crates/masks/src/shaders/jfa_step.wgsl @@ -53,7 +53,7 @@ fn fragment_main(input: VertexOutput) -> @location(0) vec4f { continue; } - let encoded = textureSample(input_texture, input_sampler, sample_uv); + let encoded = textureSampleLevel(input_texture, input_sampler, sample_uv, 0.0); if (is_no_seed(encoded)) { continue; } |
