draw: only fill in / compare the part of the translate key we're using.
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 8 May 2008 21:13:21 +0000 (22:13 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 8 May 2008 21:15:00 +0000 (22:15 +0100)
commitb514f5f3ba4c9cf6c39cbcdf5bf0d2d8efb8d19b
tree1886ac244a69a5b3393b4f032b4b285b8e1cd753
parentfec1d215f623221cb52f22c8f10e5de99ebc9cc2
draw: only fill in / compare the part of the translate key we're using.

It's quite a big struct & we examine it a lot (too much).  Reduce
the impact of this by just looking at the active part where possible.
src/gallium/auxiliary/draw/draw_pt_emit.c
src/gallium/auxiliary/draw/draw_pt_fetch.c
src/gallium/auxiliary/translate/translate.h