79833044

Date: 2025-11-29 04:23:54
Score: 1.5
Natty:
Report link

@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.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @solidpixel
  • Self-answer (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Zebrafish