draw: fix prim id float cast for non-llvm path
authorRoland Scheidegger <sroland@vmware.com>
Thu, 7 Aug 2014 16:37:42 +0000 (18:37 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 8 Aug 2014 16:54:07 +0000 (18:54 +0200)
commit92a059d294501380d1acce793ce1a97002982147
tree46d66e8b6158fc551ac985ff86de76322f956f11
parentec73778f1fd6e14623422d62605fc69dc8fb7aa4
draw: fix prim id float cast for non-llvm path

These values are always uints, casting them to floats does no good.
Fixes piglit glsl-1.50-geometry-primitive-id-restart tests for softpipe.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/draw/draw_gs.c