@solidpixel It's too awkward to do anything else other than not use the variables, I'm not going to make another shader permutation for a million different things. This validation warning arises also when... Let's just say you have vertex input layout:
vec3 position;
vec2 tex_coords;
vec3 vertex_color;
If you make a vertex shader that you want to be a slight variation on another one, where you don't use one of the attributes, say vertex_color, you get these validation messages. I don't know what I suppose the suggestion is, create a new vertex input layout? No thanks. I've just silenced that particular message ID.