mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
st/xorg: these flushes shouldn't be necessary
performance optimization
This commit is contained in:
parent
9fce12b894
commit
4c5a758d06
1 changed files with 0 additions and 6 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue