Skip to content

shaders/sampling: fix gather version of pl_shader_sample_polar

Kacper Michajłow requested to merge kasper93/libplacebo:polar_gather into master

It was sampling already sampled pixels when switching between direct and gather sampling. There was a check only on first pixel, but if the first one was not sampled yet, but the next were, it would overlap the gather window.

Fixes: https://github.com/mpv-player/mpv/issues/13405

Merge request reports