st/nine: Rework ff constant buffers
authorAxel Davy <axel.davy@ens.fr>
Tue, 24 Mar 2015 10:06:22 +0000 (11:06 +0100)
committerAxel Davy <axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:47 +0000 (22:21 +0200)
commit87ec6b56b28c25d4184422c40f576c24ebe7cd75
treeb90934ffe56642f8d5d6bc6772b4b2f3c0f0710b
parent993e68fa6a431a7c7c451c738e07d02a84ea40e4
st/nine: Rework ff constant buffers

Always use a user constant buffer for ff.
It means we have to:
. commit the user constant buffer for ff when we use it
. commit back the non-ff constant buffer when we stop using it

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