OSDN Git Service

i965: Use fewer temporary variables in clip setup.
authorEric Anholt <eric@anholt.net>
Thu, 15 Nov 2012 19:55:36 +0000 (11:55 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 20 Nov 2012 06:33:43 +0000 (22:33 -0800)
commit23e7b81f2d742d292d77b53ac9cf72c3d89fc798
treec0181c982425918b087ff376b8a551a78d5c71f7
parentafc5a26b5c48f9f2399a092228ad8d6da0c42711
i965: Use fewer temporary variables in clip setup.

When you're comparing to the spec, you're trying to immediately see what
numbered dword of the packet your bit ends up in.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
NOTE: This is a candidate for the 9.0 branch.
src/mesa/drivers/dri/i965/gen6_clip_state.c
src/mesa/drivers/dri/i965/gen7_clip_state.c