softpipe: Change faces type to uint
authorKrzesimir Nowak <qdlacz@gmail.com>
Sat, 12 Sep 2015 14:17:00 +0000 (08:17 -0600)
committerBrian Paul <brianp@vmware.com>
Sun, 13 Sep 2015 15:50:21 +0000 (09:50 -0600)
commit08ceb5e076328bf6ccceed3a8e5de205dcaf63b0
treee056eac5e7a933440089578aedceab09d802329b
parent59519c2283e91ce4b8c2028673d6d8dc4ee5138f
softpipe: Change faces type to uint

This is to avoid needless float<->int conversions, since all
face-related computations are made on integers. Spotted by Emil
Velikov.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/drivers/softpipe/sp_tex_sample.h