OSDN Git Service

i965: Move some code from gen7_sol_state.c to gen6_sol.c.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 17 Feb 2017 05:06:34 +0000 (21:06 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 21 Feb 2017 20:38:13 +0000 (12:38 -0800)
commit2af5f0caad1fc094588e5583363a9f9d39f2e2fe
tree3bf272c0511b7df3c289b97856be8cd9a518ef26
parentbf8dd2119166de3e961e457a63db619378290a1a
i965: Move some code from gen7_sol_state.c to gen6_sol.c.

I plan to use these functions on Sandybridge soon.  I changed the prefix
on a couple of functions to "brw" instead of "gen7" as in theory they
should be usable all the way back to G45.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/gen6_sol.c
src/mesa/drivers/dri/i965/gen7_sol_state.c