Sampler parameter must come from a literal expression

Hello,
Did you figure something out for this problem, I am facing the same issue