In general, branching in shaders is not a good idea. But now I have a shader with a condition that is constant with respect to the entire draw call. So the branch that is executed is always the same for one draw call.
Is such kind of branching still more costly than having multiple shaders without these branches and switch between them?