i965/gen7: Extract a function for setting up a shader stage's constants.
authorPaul Berry <stereotype441@gmail.com>
Mon, 9 Sep 2013 14:28:17 +0000 (07:28 -0700)
committerPaul Berry <stereotype441@gmail.com>
Wed, 11 Sep 2013 18:16:19 +0000 (11:16 -0700)
commitec5c92429044db5aa797c377fe29984538f09785
tree5a6c85ce492855caf94569f5725cac4d35f3afa5
parent3bc642cbf69b3ba71fc636d6120fc7ac0b83aecb
i965/gen7: Extract a function for setting up a shader stage's constants.

This will allow us to reuse some code when setting up the geometry
shader stage.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen7_vs_state.c