Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-08-09 22:53:54 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-08-09 22:53:54 +0400
commitabc601d10ee51aa8de83004094e2e6c73e96e2eb (patch)
treed1b9c16183f4138a85732ffb443578d7d1ae359e /intern/cycles/kernel/svm/svm_light_path.h
parent40886b6965062f84a7b3d8b73b79027e2a4e3caf (diff)
Cycles: opencl 1.1 compatibility tweaks.
Diffstat (limited to 'intern/cycles/kernel/svm/svm_light_path.h')
-rw-r--r--intern/cycles/kernel/svm/svm_light_path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/svm/svm_light_path.h b/intern/cycles/kernel/svm/svm_light_path.h
index a4a461f9590..d6413d1569e 100644
--- a/intern/cycles/kernel/svm/svm_light_path.h
+++ b/intern/cycles/kernel/svm/svm_light_path.h
@@ -34,7 +34,7 @@ __device void svm_node_light_path(ShaderData *sd, float *stack, uint type, uint
case NODE_LP_backfacing: info = (sd->flag & SD_BACKFACING)? 1.0f: 0.0f; break;
}
- stack_store_float(stack, out_offset, info? 1.0f: 0.0f);
+ stack_store_float(stack, out_offset, info);
}
CCL_NAMESPACE_END