Fix cycles CUDA/OpenCL build error after recent change.

This commit is contained in:
Brecht Van Lommel
2013-09-04 01:04:14 +00:00
parent af9a6aad99
commit efe7793152
2 changed files with 2 additions and 4 deletions

View File

@@ -28,7 +28,9 @@
#endif #endif
#include "../closure/bsdf_westin.h" #include "../closure/bsdf_westin.h"
#include "../closure/bsdf_toon.h" #include "../closure/bsdf_toon.h"
#ifdef __SUBSURFACE__
#include "../closure/bssrdf.h" #include "../closure/bssrdf.h"
#endif
CCL_NAMESPACE_BEGIN CCL_NAMESPACE_BEGIN

View File

@@ -16,15 +16,11 @@
CCL_NAMESPACE_BEGIN CCL_NAMESPACE_BEGIN
#include "closure/bssrdf.h"
/* NEW BSSRDF: See "BSSRDF Importance Sampling", SIGGRAPH 2013 */ /* NEW BSSRDF: See "BSSRDF Importance Sampling", SIGGRAPH 2013 */
/* TODO: /* TODO:
* - test using power heuristic for combing bssrdfs * - test using power heuristic for combing bssrdfs
* - try to reduce one sample model variance * - try to reduce one sample model variance
* - possible shade all hits for progressive integrator
* - cubic and gaussian scale difference tweak
*/ */
#define BSSRDF_MULTI_EVAL #define BSSRDF_MULTI_EVAL