Skip to content
Snippets Groups Projects
Commit 8673b7a4 authored by Niklas Haas's avatar Niklas Haas
Browse files

shaders/icc: fix LUT signature check

This was missing checks for `max_luma` in both `pl_icc_encode` and
`pl_icc_decode`, as well as a check for `intent` in `pl_icc_encode`.

Fix this and make it more robust by calculating the LUT signature ahead
of time. Also include the 3DLUT size in the resulting calculation, to
pave the way for the 3DLUT caching API in the next commit.
parent 3ec9908c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment