Skip to main content
2 of 2
added 74 characters in body
kaoD
  • 1.9k
  • 15
  • 17

You can compile shaders without main. This makes sense since a program can only have one main per shader type (i.e. vertex, fragment...) but several shaders of the same type can be linked.

kaoD
  • 1.9k
  • 15
  • 17