<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 14px;" lang="x-western">Hi,
<br>
I tested SSS on GPU from time to time, and always got compile
errors during the kernel compilation.
<br>
<br>
But with latest SVN this surprisingly works?! Simply enabling the
feature and compile the CUDA kernel (sm_21 tested here, on Geforce
540M).
<br>
As far as I can tell it renders correct with all fallof modes.
Have not messured performance yet. <br>
<br>
Best regards,
<br>
Thomas
<br>
<br>
Index: intern/cycles/kernel/kernel_types.h
<br>
===================================================================
<br>
--- intern/cycles/kernel/kernel_types.h (revision 60526)
<br>
+++ intern/cycles/kernel/kernel_types.h (working copy)
<br>
@@ -68,6 +68,7 @@
<br>
#if __CUDA_ARCH__ >= 200
<br>
#define __KERNEL_ADV_SHADING__
<br>
#define __BRANCHED_PATH__
<br>
+#define __SUBSURFACE__
<br>
#endif
<br>
#endif
<br>
<br>
<br>
<br>
<br>
</div>
</body>
</html>