i965: Remove upload_gs_state_for_tf.
authorRafael Antognolli <rafael.antognolli@intel.com>
Tue, 6 Jun 2017 16:49:11 +0000 (09:49 -0700)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 13 Jul 2017 22:39:49 +0000 (15:39 -0700)
commit9a2cca929f9f43ae288908efbf05647167a96728
tree263061baf678b0bbac9f67770351b4aa4857fc65
parentad7663b83818ecba05e042621b7f9aeeeba86d0c
i965: Remove upload_gs_state_for_tf.

This function only emits a particular case of 3DSTATE_GS. Instead, we can do
that inside genX(upload_gs_state), and later reuse part of that code for
emitting gen4-5 state.

There's the additional benefit of allowing us to remove gen6_gs_state.c, which
was only left because of this function.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen6_gs_state.c [deleted file]
src/mesa/drivers/dri/i965/genX_state_upload.c