Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

refactor(style): clean up comment

BestCodes09044e186aa6
diff --git a/crates/rendering/src/shaders/yuv420p_to_rgba.wgsl b/crates/rendering/src/shaders/yuv420p_to_rgba.wgsl
index 6f756e1bf..ddf8a61cc 100644
--- a/crates/rendering/src/shaders/yuv420p_to_rgba.wgsl
+++ b/crates/rendering/src/shaders/yuv420p_to_rgba.wgsl
@@ -3,8 +3,7 @@
@group(0) @binding(2) var v_plane: texture_2d<f32>;
@group(0) @binding(3) var output: texture_storage_2d<rgba8unorm, write>;
-// One invocation per 2x2 block: the block shares its chroma sample, so this
-// loads U and V once instead of four times (~35% faster on Intel Gen9).
+// One invocation per 2x2 block: the block shares its chroma sample, so this loads U and V once instead of four times.
@compute @workgroup_size(8, 8)
fn main(@builtin(global_invocation_id) global_id: vec3<u32>) {
let uv_coords = global_id.xy;