Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • $\begingroup$ /*layout (location=1)*/ Why did you comment out important declarations like that? $\endgroup$ Commented Jun 23, 2017 at 1:35
  • $\begingroup$ I had a bug where I was unable to obtain attribute indices that I resolved. The indices that I declared (and commented out) just so happened to be the same ones that the compiler chose. Already changed it back to query the attribute index based on the name! $\endgroup$ Commented Jun 23, 2017 at 5:22
  • $\begingroup$ Why query the attribute index when you can just specify it in the shader? $\endgroup$ Commented Jun 23, 2017 at 13:35