Skip to content

shaders/colorspace: avoid dovi pivot recompilation

Niklas Haas requested to merge dovi_recompilation into master

Rather than having a separate shader per number of pivots, simply subdivide into the two cases "no pivots" and "N pivots". The "no pivots" optimization still covers the (very common) case of there being no pivots for chroma MMR.

This significantly reduces mid-stream shader recompilation overhead, at the cost of (very very slightly) reduced throughput performance.

Merge request reports

Loading