Re: [Mesa-dev] [PATCH] radv: Unset ZRANGE_PRECISION when depth was zeroed

2018-06-08 Thread Samuel Pitoiset
I'm going to fix this because it might fix some rendering issues with DXVK as well. Sorry for the delay. On 03/08/2018 12:59 PM, James Legg wrote: This avoids bug 105396 somehow. I suspect it is a VI and GFX9 hardware bug which PAL calls WaTcCompatZRange, but I don't know for sure. In the VK_

Re: [Mesa-dev] [PATCH] radv: Unset ZRANGE_PRECISION when depth was zeroed

2018-03-28 Thread Bas Nieuwenhuizen
No final resolution yet. I was trying to fix my minor comment, but looks like I have a bunch of CTS regressions here with the original patch, so still working on it. On Tue, Mar 27, 2018 at 2:03 PM, Juan A. Suarez Romero wrote: > On Thu, 2018-03-22 at 12:31 +, James Legg wrote: >> On Thu, 20

Re: [Mesa-dev] [PATCH] radv: Unset ZRANGE_PRECISION when depth was zeroed

2018-03-27 Thread Juan A. Suarez Romero
On Thu, 2018-03-22 at 12:31 +, James Legg wrote: > On Thu, 2018-03-22 at 02:36 +0100, Bas Nieuwenhuizen wrote: > > On Thu, Mar 8, 2018 at 12:59 PM, James Legg > > wrote: > > > This avoids bug 105396 somehow. I suspect it is a VI and GFX9 hardware > > > bug which PAL calls WaTcCompatZRange, bu

Re: [Mesa-dev] [PATCH] radv: Unset ZRANGE_PRECISION when depth was zeroed

2018-03-22 Thread James Legg
On Thu, 2018-03-22 at 02:36 +0100, Bas Nieuwenhuizen wrote: > On Thu, Mar 8, 2018 at 12:59 PM, James Legg > wrote: > > This avoids bug 105396 somehow. I suspect it is a VI and GFX9 hardware > > bug which PAL calls WaTcCompatZRange, but I don't know for sure. > > > > In the VK_FORMAT_D32_SFLOAT c

Re: [Mesa-dev] [PATCH] radv: Unset ZRANGE_PRECISION when depth was zeroed

2018-03-21 Thread Bas Nieuwenhuizen
On Thu, Mar 8, 2018 at 12:59 PM, James Legg wrote: > This avoids bug 105396 somehow. I suspect it is a VI and GFX9 hardware > bug which PAL calls WaTcCompatZRange, but I don't know for sure. > > In the VK_FORMAT_D32_SFLOAT case, TILE_STENCIL_DISABLE is not set for > tc compatible image formats reg

[Mesa-dev] [PATCH] radv: Unset ZRANGE_PRECISION when depth was zeroed

2018-03-08 Thread James Legg
This avoids bug 105396 somehow. I suspect it is a VI and GFX9 hardware bug which PAL calls WaTcCompatZRange, but I don't know for sure. In the VK_FORMAT_D32_SFLOAT case, TILE_STENCIL_DISABLE is not set for tc compatible image formats regardless of not having a stencil aspect. If TILE_STENCIL_DISAB