Skip to content

shaders/custom: silently skip passes with unknown binds

Niklas Haas requested to merge skip_unknown_binds into master

The way the logic was implemented in libplacebo, we resolve the output dimensions and generate the fbo first. But for compatibility with mpv, we need to silently ignore shaders that reference unknown binds. This requires re-ordering the code to resolve binds before the output dimensions.

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

Merge request reports