          bool t_clipPlane,
          bool t_clipSphere,
          bool t_useSphereAsProbe,
-         bool t_isaDepth
+         bool t_useIbr
         >
 __global__ void render(uchar4* d_output, const uint width, const uint height,
                        const float4 backgroundColor,

      lastAlpha = dst.w;
    }
  }
  if(t_isaDepth)
  {
    // convert position to window-coordinates
    const float4 depthWin = mulPost(c_MvPrMatrix, make_float4(maxDiffDepth.x, maxDiffDepth.y, maxDiffDepth.z, 1.0f));

  if (!hit)
  {
    d_output[y * texwidth + x] = make_uchar4(0);
    if(t_useIbr)
    {
      switch(dp)
      {
