st/va: flush the context before calling flush_frontbuffer(v2)
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Tue, 20 Sep 2016 04:52:12 +0000 (10:22 +0530)
committerChristian König <christian.koenig@amd.com>
Tue, 20 Sep 2016 09:18:29 +0000 (11:18 +0200)
commit0301858a316af7d831655778cf69bc49b12ee6ac
tree24e44596429f802a0372542009eba8493a1dd8bb
parente4cc2276c1fce9bce81834c348c3fc7e97ed6321
st/va: flush the context before calling flush_frontbuffer(v2)

so that the texture is rendered to back buffer before calling
flush_frontbuffer and can be copied to a different buffer in
the function

v2: change comment style

Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/surface.c