https://bugs.freedesktop.org/show_bug.cgi?id=80889

          Priority: medium
            Bug ID: 80889
          Assignee: mesa-dev@lists.freedesktop.org
           Summary: draw_pipe_clip.c division by zero in interp
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: zec...@gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 10.2
         Component: Other
           Product: Mesa

In draw_pipe_clip.c:166
"const float oow = 1.0f / pos[3];"
I found that running a geant4 example pos[3] is zero.
Unfortunately I do not remember which example ran.
I believe an "assert(pos[3]);" or equivalent should be put immediately before
to avoid a division by zero.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to