Blender Git Loki

Git Commits -> Revision 49717d4

Revision 49717d4 by Sergey Sharybin (master)
August 25, 2017, 12:50 (GMT)
Optimize tangent space calculation by inlining functions

Brings tangent space calculation from 4.6sec to 3.1sec for dragon model in BI.
Cycles is also somewhat faster, but it has other bottlenecks.

Funny thing, using simple `static inline` already gives a lot of speedup here.
That's just answering question whether it's OK to leave decision on what to
inline up to a compiler..

Commit Details:

Full Hash: 49717d49715857ba595336115b7dba8d66b7f2ae
Parent Commit: 90299e4
Lines Changed: +27, -21

1 Modified Path:

/intern/mikktspace/mikktspace.c (+27, -21) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021