st/nine: Flush pending commands if needed for surface9 changes
authorAxel Davy <axel.davy@ens.fr>
Wed, 28 Dec 2016 17:32:39 +0000 (18:32 +0100)
committerAxel Davy <axel.davy@ens.fr>
Thu, 12 Jan 2017 19:33:11 +0000 (20:33 +0100)
commit6b87a2a77a459d5c69f296b732d66daa9ff8e223
tree4feb2c30ac5a064faeec85b25a5abec56786648d
parentf895ab8e22dc520304141ba56c1b81d8d6657ccd
st/nine: Flush pending commands if needed for surface9 changes

nine_context uses NineSurface9 fields, thus we need to flush
pending commands using the surface before changing the fields.

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