diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-08-10 11:45:23 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-08-10 11:45:23 +0300 |
commit | e7a32365cf9b43b97b1b1f8cd76e9834c9e4037a (patch) | |
tree | 06b838da9f9765369492c30737a4e4eb55d29867 /source/blender/render | |
parent | 5320a0ad9b30a3c939221d2562c6ce686e51e2a2 (diff) |
Gawain: map vertex format to shader inputs
glBindAttribLocation does not take effect until the program is
re-linked. In other words I was doing it wrong!
New code gets attrib locations from program, then remembers the attrib
-> location mapping for subsequent draw calls.
The program and VertexFormat are not modified (makes threading and reuse
easier).
Diffstat (limited to 'source/blender/render')
0 files changed, 0 insertions, 0 deletions