i965/urb: fixes division by zero
authorArdinartsev Nikita <ardinar23@gmail.com>
Mon, 16 May 2016 23:27:22 +0000 (02:27 +0300)
committerMatt Turner <mattst88@gmail.com>
Wed, 18 May 2016 18:09:37 +0000 (11:09 -0700)
commit2a8aa1e3deb99a1ae16d942318da648c1327ece5
tree6d55238fbe5fb1b44e656fcf39a832abbd3fe487
parentcaab3cd5361d8848e8f8957f697aff7bca5fc6b3
i965/urb: fixes division by zero

Fixes regression introduced by af5ca43f2676bff7499f93277f908b681cb821d0

Reviewed-by: Matt Turner <mattst88@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95419
src/mesa/drivers/dri/i965/gen7_urb.c