Blender Git Loki

Git Commits -> Revision e7a3236

Revision e7a3236 by Mike Erwin (master)
August 10, 2016, 08:45 (GMT)
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).

Commit Details:

Full Hash: e7a32365cf9b43b97b1b1f8cd76e9834c9e4037a
Parent Commit: 5320a0a
Lines Changed: +81, -11

1 Modified Path:

/source/blender/gpu/intern/gpu_immediate.c (+81, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021