Blender Git Commit Log

Git Commits -> Revision 8fd510f

Revision 8fd510f by Mike Erwin (master)
November 12, 2016, 01:39 (GMT)
Gawain: new enum type for vertex attrib components

Motivations:
1) GLenum is too broad; tightly-defined enum just for this is safer.
2) enable a Vulkan future

New code should use these instead of GL_FLOAT etc. When all existing code has been updated to use new enum, we can drop compatibility with GLenum values.

Early work towards 10_10_10 format, more to come soon.

Commit Details:

Full Hash: 8fd510f4b84a1cdcdd484948afc2087cf28cb1c5
Parent Commit: 82ba89b
Lines Changed: +40, -19

2 Modified Paths:

/source/blender/gpu/gawain/vertex_format.c (+19, -17) (Diff)
/source/blender/gpu/gawain/vertex_format.h (+21, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021