swr: [rasterizer core] Faster modulo operator in ProcessVerts
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 2 May 2016 20:09:39 +0000 (14:09 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 5 May 2016 19:50:11 +0000 (14:50 -0500)
commitff8c0c9a35458532519721ced82bc8d4b1ed8cac
tree320124cf07ab3d3b54876287089950c4697967dc
parent2be7c3e780977678eb423e75cf063f92f7d03916
swr: [rasterizer core] Faster modulo operator in ProcessVerts

Avoid % operator, since we know that curVertex is always incrementing.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/core/pa.h