Skip to content

Free open-source image editor for the browser

188 B
Raw Blame
@group(0) @binding(0) var source: texture_2d<f32>;

@fragment fn fs_main(@builtin(position) position: vec4f) -> @location(0) vec4f {
  return textureLoad(source, vec2i(position.xy), 0);
}