softpipe: use one fewer divide in sample_cube
authorKeith Whitwell <keithw@vmware.com>
Sun, 23 Aug 2009 18:28:34 +0000 (19:28 +0100)
committerKeith Whitwell <keithw@vmware.com>
Mon, 24 Aug 2009 07:26:33 +0000 (08:26 +0100)
commitfd19e8adcd82e88d0fc8d187360b528100fed244
tree2c00d3f5f1739d223aad557fca229b1aa1077def
parent60adc15ba5633190fc8a68e7c182f06dc7909df4
softpipe: use one fewer divide in sample_cube

GCC won't do this for us.  Makes a bigger difference to cubemap fps
than previous set of compilcated rearrangements.
src/gallium/drivers/softpipe/sp_tex_sample.c