Skip to content

vo_gpu: fill the padding of the scaler LUT - #18541

Merged
kasper93 merged 2 commits into
mpv-player:masterfrom
kasper93:lut-fix
Sep 29, 2026
Merged

kasper93 merged 2 commits into
mpv-player:masterfrom
kasper93:lut-fix

Conversation

@kasper93

Copy link
Copy Markdown
Member

No description provided.

Rows of 6 weights are padded to two RGBA texels and the padding was left
uninitialized.

Fixes: mpv-player#18540
Fixes: 8cf5799
lcms does not write the extra channel of the RGBA output, so the 4th
component of every texel was uninitialized memory that went to the GPU
and into the cache file. Set it to zero.

Fixes: 62f0677
@kasper93
kasper93 merged commit a1f50f2 into mpv-player:master Sep 29, 2026
34 checks passed
@kasper93
kasper93 deleted the lut-fix branch September 29, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant