Skip to content
  • David C. Lonie's avatar
    Remove early returns in vtkDualDepthPeelingPass for osx. · 2a248f0d
    David C. Lonie authored
    Restructured the fragment shader for the peeling pass to avoid early
    returns. Apparently the new OSX driver rearranges instructions such that
    the early returns occurred before dFdx and dFdy in the normal computation.
    This lead to garbage normals and incorrect shading.
    2a248f0d