From 5845452b8948fba79de6c0513efd38ee56586aea Mon Sep 17 00:00:00 2001 From: cbenthin Date: Sun, 11 Jan 2015 15:01:09 +0100 Subject: [PATCH] bugfix in gridUVTessellator, artifacts in tutorial08 are gone now --- kernels/common/subdiv/tessellation.h | 5 +++-- tutorials/tutorial08/tutorial08_device.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/kernels/common/subdiv/tessellation.h b/kernels/common/subdiv/tessellation.h index 8063e9e72d..90a66554c7 100644 --- a/kernels/common/subdiv/tessellation.h +++ b/kernels/common/subdiv/tessellation.h @@ -149,11 +149,12 @@ namespace embree { mic_i u_i ( step ); - const mic_m m_u = u_i < grid_u_segments; const mic_m m_v = v_i < grid_v_segments; for (unsigned int x=0;x