Re: [Mesa-dev] [RFC PATCH] radeonsi: flush DB caches when a Z/stencil buffer is attached

2017-09-26 Thread Samuel Pitoiset
On 09/26/2017 06:57 PM, Juan A. Suarez Romero wrote: On Tue, 2017-07-25 at 17:56 +0200, Samuel Pitoiset wrote: On 07/25/2017 05:51 PM, Nicolai Hähnle wrote: On 25.07.2017 15:29, Samuel Pitoiset wrote: This is a workaround which fixes a rendering issue with Dawn Of War III in full bindless m

Re: [Mesa-dev] [RFC PATCH] radeonsi: flush DB caches when a Z/stencil buffer is attached

2017-09-26 Thread Juan A. Suarez Romero
On Tue, 2017-07-25 at 17:56 +0200, Samuel Pitoiset wrote: > > On 07/25/2017 05:51 PM, Nicolai Hähnle wrote: > > On 25.07.2017 15:29, Samuel Pitoiset wrote: > > > This is a workaround which fixes a rendering issue with Dawn > > > Of War III in full bindless mode because a depth texture most > > > l

Re: [Mesa-dev] [RFC PATCH] radeonsi: flush DB caches when a Z/stencil buffer is attached

2017-07-25 Thread Samuel Pitoiset
On 07/25/2017 05:51 PM, Nicolai Hähnle wrote: On 25.07.2017 15:29, Samuel Pitoiset wrote: This is a workaround which fixes a rendering issue with Dawn Of War III in full bindless mode because a depth texture most likely doesn't invoke the decompression pass when it should. So do I understand

Re: [Mesa-dev] [RFC PATCH] radeonsi: flush DB caches when a Z/stencil buffer is attached

2017-07-25 Thread Nicolai Hähnle
On 25.07.2017 15:29, Samuel Pitoiset wrote: This is a workaround which fixes a rendering issue with Dawn Of War III in full bindless mode because a depth texture most likely doesn't invoke the decompression pass when it should. So do I understand correctly that the previous depth target is used

[Mesa-dev] [RFC PATCH] radeonsi: flush DB caches when a Z/stencil buffer is attached

2017-07-25 Thread Samuel Pitoiset
This is a workaround which fixes a rendering issue with Dawn Of War III in full bindless mode because a depth texture most likely doesn't invoke the decompression pass when it should. Performance drops by 1% which doesn't really matter. Fixes: 2263610827 ("radeonsi: flush DB caches only when tran