i965: Extract push constant state to a new file
authorBen Widawsky <benjamin.widawsky@intel.com>
Thu, 30 Jul 2015 21:31:20 +0000 (14:31 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 17 Feb 2016 20:34:23 +0000 (12:34 -0800)
commit2bf041d94f23f501eddb998fb5a53068a24caa5d
tree131b0f6db877b4151ea292c38e6f6885e08b508e
parent0e9dc59a58e632979b3bdebb19d184bd22a0c182
i965: Extract push constant state to a new file

Every stage has a corresponding 3DSTATE_CONSTANT_XS packet, so having
the code to create and emit push constant buffers in genX_vs_state.c
is a little strange.  Moving it to a separate file seems more logical.

v2 [Ken]: Rebase on master, explain motivation in the commit message.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/gen6_constant_state.c [new file with mode: 0644]
src/mesa/drivers/dri/i965/gen6_vs_state.c
src/mesa/drivers/dri/i965/gen7_vs_state.c