Blender Git Loki

Git Commits -> Revision 33758c7

Revision 33758c7 by Mike Erwin (master)
March 2, 2017, 20:07 (GMT)
Gawain: move PRIM types to new file, classify by geometry

PrimitiveClass will help match shaders to draw calls & detect usage errors. For example a point sprite shader only makes sense with PRIM_POINTS.

Updated other files to include new primitive.h

Commit Details:

Full Hash: 33758c7cb86f6b19183f12464f0256c5a37a2b8b
Parent Commit: a99495d
Lines Changed: +88, -18

2 Added Paths:

/source/blender/gpu/gawain/primitive.c (+41, -0) (View)
/source/blender/gpu/gawain/primitive.h (+43, -0) (View)

4 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+2, -0) (Diff)
/source/blender/gpu/gawain/common.h (+0, -17) (Diff)
/source/blender/gpu/gawain/element.h (+1, -1) (Diff)
/source/blender/gpu/gawain/immediate.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021