i965: Combine gen6_clip_state.c and gen7_clip_state.c.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 1 Nov 2013 23:21:01 +0000 (16:21 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 5 Nov 2013 00:44:42 +0000 (16:44 -0800)
commit10cb91d7fba822a13fbdc1ad12f76b545d4e302b
tree06da84a813f517fe3f220a8b46d1b463a1f024ec
parent67b8f4c569030a2b6392560f8e73283a6a73dc7e
i965: Combine gen6_clip_state.c and gen7_clip_state.c.

The changes between Gen6-7 are minimal, and can easily be solved with
an extra generation check.  This cuts a lot of duplicated code.

It also helps prevent even more duplication for Broadwell.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/gen6_clip_state.c
src/mesa/drivers/dri/i965/gen7_clip_state.c [deleted file]