freedreno: fix glReadPixels
authorRob Clark <robclark@freedesktop.org>
Thu, 19 Sep 2013 14:08:38 +0000 (10:08 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 19 Sep 2013 15:45:01 +0000 (11:45 -0400)
commit575a6e7ec57dc70f96e2618748ed07c7882cf8c1
tree1b34bf8e236c398a19ac7c2b35c6a2d5ffbcee2a
parent532dc8939f81c1fe2ecd37fda9dfb24ee38ae201
freedreno: fix glReadPixels

duh, we still need to flush if there are pending draws and it isn't an
unsynchronized case.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_resource.c