https://bugs.freedesktop.org/show_bug.cgi?id=34843
--- Comment #17 from Rafael Monica monraaf@gmail.com 2011-03-06 13:33:58 PST --- Created an attachment (id=44182) View: https://bugs.freedesktop.org/attachment.cgi?id=44182 Review: https://bugs.freedesktop.org/review?bug=34843&attachment=44182
Use long long literal in calculation
Didn't feel like opening a new bug fur this. But your recent commit, r600g: simplify instance addr calculation, breaks the draw-instanced-divisor piglit test here. I also noticed a warning about overflow during compilation:
r600_asm.c:2105: warning: left shift count >= width of type
Using a long long integer fixes the warning and the piglit test. Patch attached.