st/nine: Reorder nine_state.
authorAxel Davy <axel.davy@ens.fr>
Tue, 24 Mar 2015 08:35:18 +0000 (09:35 +0100)
committerAxel Davy <axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:47 +0000 (22:21 +0200)
commit06285530566ea3387b6eb3f8e1a0443132c3659b
tree5cac73633df961bd4c5a2aba2585bb64758367e9
parent99537f68db829bd4708eb8e1b1ef0948f3dd3c66
st/nine: Reorder nine_state.

Instead of mixing state preparation (filling pipe_****)
and state commit (pipe->set_*****),
begin doing so in two separate functions.

This will allow to implement efficient Stateblocks,
and eventually lead to optimisation where the complete
pipe_*** structure is only partially updated.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/nine_state.c