From: Zack Rusin Date: Wed, 4 Nov 2009 23:08:44 +0000 (-0500) Subject: st/xorg: these flushes shouldn't be necessary X-Git-Tag: 062012170305~16029 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c5a758d064d1a8fca245d4ffeb2f80ba8c781e3;p=profile%2Fivi%2Fmesa.git st/xorg: these flushes shouldn't be necessary performance optimization --- diff --git a/src/gallium/state_trackers/xorg/xorg_composite.c b/src/gallium/state_trackers/xorg/xorg_composite.c index 1bc3350..a8d779b 100644 --- a/src/gallium/state_trackers/xorg/xorg_composite.c +++ b/src/gallium/state_trackers/xorg/xorg_composite.c @@ -290,12 +290,6 @@ bind_samplers(struct exa_context *exa, int op, memset(&src_sampler, 0, sizeof(struct pipe_sampler_state)); memset(&mask_sampler, 0, sizeof(struct pipe_sampler_state)); - if ((pSrc && exa->pipe->is_texture_referenced(exa->pipe, pSrc->tex, 0, 0) & - PIPE_REFERENCED_FOR_WRITE) || - (pMask && exa->pipe->is_texture_referenced(exa->pipe, pMask->tex, 0, 0) & - PIPE_REFERENCED_FOR_WRITE)) - exa->pipe->flush(exa->pipe, PIPE_FLUSH_RENDER_CACHE, NULL); - if (pSrcPicture && pSrc) { if (exa->has_solid_color) { debug_assert(!"solid color with textures");