[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 10 23:51:38 CEST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=68451

--- Comment #34 from Alexandre Demers <alexandre.f.demers at gmail.com> ---
(In reply to comment #33)
> (In reply to comment #27)
> > fun observation:
> > 
> > Instead of reverting, setting this at the end of r600_cp_dma_copy_buffer()
> > appears to fix it for me:
> >     rctx->b.flags |= R600_CONTEXT_INV_VERTEX_CACHE;
> > 
> > (R600_CONTEXT_INV_CONST_CACHE will also work)
> > 
> 
> Well, if we are using CP DMA to update a constant buffer or vertex buffer,
> we need to flush the the apprortiate shader read caches.

So, if I understand correctly what you mean, before reverting commit
7948ed1250cae78ae1b22dbce4ab23aceacc6159, the problem was that we were not
flushing correctly (read "when expected") caches. Am I understanding correctly?

Why would adding either rctx->b.flags |= R600_CONTEXT_INV_VERTEX_CACHE or
rctx->b.flags |= R600_CONTEXT_INV_CONST_CACHE work in fixing the texture glitch
(which are coming from an unknown buffer type for now) if they are not intended
for the same buffer type?

Also, I'm still interested in benchmarking with and without commit
7948ed1250cae78ae1b22dbce4ab23aceacc6159, so I'll gladly run any suggestion.
Would something like Phoronix test suite be of any interest?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131010/291d1eac/attachment-0001.html>


More information about the dri-devel mailing list