u_tile: fix stencil texturing tests under softpipe
authorDave Airlie <airlied@redhat.com>
Mon, 6 Apr 2015 23:52:41 +0000 (09:52 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 7 Apr 2015 22:17:32 +0000 (08:17 +1000)
commit61393bdcdc3b63624bf6e9730444f5e9deeedfc8
treef999b91d16b2f9213ac2222215a21d6812cb5aac
parent11694737fc3b2d7f31367dbbbb8f5c02b40a1773
u_tile: fix stencil texturing tests under softpipe

arb_stencil_texturing-draw failed under softpipe because we got a float
back from the texturing function, and then tried to U2F it, stencil
texturing returns ints, so we should fix the tiling to retrieve
the stencil values as integers not floats.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/util/u_tile.c