New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 604838 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Divide by 0 in mesa\drivers\common\meta.c

Project Member Reported by sebmarchand@chromium.org, Apr 19 2016

Issue description

Hi,

While trying to turn /GL on for all targets I've hit the following warning:

e:\src\chrome\src\third_party\mesa\src\src\mesa\drivers\common\meta.c(2882) : warning C4723: potential divide by 0

The first call to setup_texture_coords (in https://code.google.com/p/chromium/codesearch#chromium/src/third_party/mesa/src/src/mesa/drivers/common/meta.c&q=setup_texture_coords&sq=package:chromium&l=3336) does always pass slice as zero. This is only a floating point divide-by-zero but it should still be fixed.

It seems that it has been fixed in the upstream repository, maybe we should just roll deps ?
 
Cc: brucedaw...@chromium.org
Cc: kbr@chromium.org sugoi@chromium.org
Status: WontFix (was: Untriaged)
Rolling mesa is difficult.  This is only used in testing, and @sugoi is working to replace osmesa use with SwiftShader.

Sign in to add a comment