News for hackers. Stuff that matters.
Re:Joint Allocations in C++ by ygra on Monday September 14, 2015 @05:44AM (#10214291)
The whole point is that they shouldn't, because there are multiple loops over the different attributes and for best performance they should be in individual contiguous memory regions. Remember that you only have a few milliseconds per frame in a game and those things can matter here.
Re:Joint Allocations in C++ by tubs on Monday September 14, 2015 @11:32AM (#10215559)
The two attributes are pos and uv, which are almost always tied to each other (and therefore be updated together). The GPU will access attributes by index hence they should be interleaved otherwise you are just forcing cache misses.

Indices are not vertex attributes and thus should not be interleaved with the other data.