Re: [Mesa-dev] [PATCH v2] i965: do not fallback to linear tiling for stencil surfaces

2017-09-11 Thread Iago Toral
On Mon, 2017-09-11 at 15:55 +0300, Pohjolainen, Topi wrote: > On Mon, Sep 11, 2017 at 02:33:09PM +0200, Iago Toral Quiroga wrote: > > We were skipping this fallback for depth, but not for stencil > > which the hardware always requires to be W-tiled. > > > > Also, make the checks for whether we

Re: [Mesa-dev] [PATCH v2] i965: do not fallback to linear tiling for stencil surfaces

2017-09-11 Thread Pohjolainen, Topi
On Mon, Sep 11, 2017 at 02:33:09PM +0200, Iago Toral Quiroga wrote: > We were skipping this fallback for depth, but not for stencil > which the hardware always requires to be W-tiled. > > Also, make the checks for whether we need to apply retiling > strategies based on usage instead of tiling

[Mesa-dev] [PATCH v2] i965: do not fallback to linear tiling for stencil surfaces

2017-09-11 Thread Iago Toral Quiroga
We were skipping this fallback for depth, but not for stencil which the hardware always requires to be W-tiled. Also, make the checks for whether we need to apply retiling strategies based on usage instead of tiling flags, which is safer and more explicit. This fixes a regression in a CTS test