Material Function Call. Unused outputs still cause Performance hit?


i have made a little example:

Here i have a simple material function which has 3 outputs.

Here i have a simple post process material which just use the multiply output.

My question is: does the add and substract functionality still be used from the GPU in this case?

The reason why i ask is: I have a complex pp material and i wanna create a quite complex material function to clean the pp material up.

But i will call the material function a few times and i do not need all outputs every time. Just wanna know if i can put everything in one function and do not have to worry about unused calculations.

Thanks in advance