diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-05-28 23:21:13 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-05-28 23:21:13 +0400 |
commit | 131de4352b9e8f3e4ce77d2d9dc145f5db461aed (patch) | |
tree | c796dc4d9697a1122383dea92aab31493e9c0e1a /intern/cycles/blender | |
parent | c2be2fd4083845a381c2462a65dc0856dc6efb8e (diff) |
Cycles: fixes to make CUDA 4.2 work, compiling gave errors in shadows and
other places, was mainly due to instancing not working, but also found
issues in procedural textures.
The problem was with --use_fast_math, this seems to now have way lower
precision for some operations. Disabled this flag and selectively use
fast math functions. Did not find performance regression on GTX 460 after
doing this.
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/blender_mesh.cpp | 1 | ||||
-rw-r--r-- | intern/cycles/blender/blender_sync.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/blender/blender_mesh.cpp b/intern/cycles/blender/blender_mesh.cpp index d7003729c46..ad91022de07 100644 --- a/intern/cycles/blender/blender_mesh.cpp +++ b/intern/cycles/blender/blender_mesh.cpp @@ -304,7 +304,6 @@ Mesh *BlenderSync::sync_mesh(BL::Object b_ob, bool object_updated) void BlenderSync::sync_mesh_motion(BL::Object b_ob, Mesh *mesh, int motion) { /* todo: displacement, subdivision */ - BL::ID b_ob_data = b_ob.data(); size_t size = mesh->verts.size(); /* skip objects without deforming modifiers. this is not a totally reliable, diff --git a/intern/cycles/blender/blender_sync.cpp b/intern/cycles/blender/blender_sync.cpp index c0b6e210bb1..488fea8d12b 100644 --- a/intern/cycles/blender/blender_sync.cpp +++ b/intern/cycles/blender/blender_sync.cpp @@ -135,7 +135,6 @@ void BlenderSync::sync_data(BL::SpaceView3D b_v3d, BL::Object b_override, const void BlenderSync::sync_integrator() { - BL::RenderSettings r = b_scene.render(); PointerRNA cscene = RNA_pointer_get(&b_scene.ptr, "cycles"); experimental = (RNA_enum_get(&cscene, "feature_set") != 0); |