summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/mask.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-03-08 00:31:06 +0100
committerMarek Olšák <[email protected]>2011-03-11 02:02:16 +0100
commitcb06f180e3a5829df1d9b60f95db7417fbcd9002 (patch)
tree20a98be369bc3bd900e7655f0da361ab951336e2 /src/gallium/state_trackers/vega/mask.c
parentbdf103894026238c7e896eccb995b141161bfb70 (diff)
st/vega: remove unnecessary flushes
I don't see a reason we need them.
Diffstat (limited to 'src/gallium/state_trackers/vega/mask.c')
-rw-r--r--src/gallium/state_trackers/vega/mask.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vega/mask.c b/src/gallium/state_trackers/vega/mask.c
index dfd0600e444..10590e29cd2 100644
--- a/src/gallium/state_trackers/vega/mask.c
+++ b/src/gallium/state_trackers/vega/mask.c
@@ -111,8 +111,6 @@ static void read_alpha_mask(void * data, VGint dataStride,
VGubyte *dst = (VGubyte *)data;
VGint xoffset = 0, yoffset = 0;
- /* make sure rendering has completed */
- pipe->flush(pipe, PIPE_FLUSH_RENDER_CACHE, NULL);
if (sx < 0) {
xoffset = -sx;
xoffset *= _vega_size_for_format(dataFormat);