 <p>You're expressing a real-world constraint in code. Your examples here don't actually show that buying you anything here, so going on the evidence I'd wonder whether it's redundant to express it, or irrelevant to any situation that will actually arise. But if you're ever going to have different kinds of shaders for different kinds of vertex datasets, I'd say you've hit on exactly the right way to express this here.</p>