Blender Git Loki

Git Commits -> Revision 831a4a3

Revision 831a4a3 by Lukas Toenne (strand_nodes)
July 21, 2016, 15:38 (GMT)
Support dual values for autodiff'ing in GLSL codegen right from the start.

Note that for the hair displacement function we would only be interested
in a single derivative (the tangent). For now we just use the existing
2-variable duals, later on this can be generalized to avoid unnecessary
and confusing code emission.

Commit Details:

Full Hash: 831a4a3f96c9ab1ffae5ce62aedf7547749a9e37
Parent Commit: 878c339
Lines Changed: +168, -74

6 Modified Paths:

/source/blender/blenvm/glsl/glsl_codegen.cc (+128, -39) (Diff)
/source/blender/blenvm/glsl/glsl_codegen.h (+8, -3) (Diff)
/source/blender/blenvm/llvm/llvm_codegen.cc (+19, -19) (Diff)
/source/blender/blenvm/llvm/llvm_modules.cc (+4, -4) (Diff)
/source/blender/blenvm/llvm/llvm_types.cc (+5, -5) (Diff)
/source/blender/blenvm/llvm/llvm_types.h (+4, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021