diff options
author | Zack Rusin <[email protected]> | 2009-11-04 18:08:44 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2009-11-04 18:10:33 -0500 |
commit | 4c5a758d064d1a8fca245d4ffeb2f80ba8c781e3 (patch) | |
tree | 881bbaeb434752c55f559b4704197179a4604707 /src/gallium | |
parent | 9fce12b894c3af33d7a0732332446893682a48d5 (diff) |
st/xorg: these flushes shouldn't be necessary
performance optimization
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_composite.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_composite.c b/src/gallium/state_trackers/xorg/xorg_composite.c index 1bc3350e8b6..a8d779b8ad1 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"); |