Re: [Mesa-dev] [PATCH] i965: Rework Sandy Bridge HiZ and stencil layouts

2017-05-30 Thread Pohjolainen, Topi
On Tue, May 30, 2017 at 08:50:01AM -0700, Jason Ekstrand wrote: > On Mon, May 29, 2017 at 11:51 PM, Pohjolainen, Topi < > topi.pohjolai...@gmail.com> wrote: > > > On Mon, May 29, 2017 at 12:09:01PM -0700, Jason Ekstrand wrote: > > > Sandy Bridge does not technically support mipmapped depth/stencil

Re: [Mesa-dev] [PATCH] i965: Rework Sandy Bridge HiZ and stencil layouts

2017-05-30 Thread Jason Ekstrand
On Mon, May 29, 2017 at 11:51 PM, Pohjolainen, Topi < topi.pohjolai...@gmail.com> wrote: > On Mon, May 29, 2017 at 12:09:01PM -0700, Jason Ekstrand wrote: > > Sandy Bridge does not technically support mipmapped depth/stencil. In > > order to work around this, we allocate what are effectively comp

Re: [Mesa-dev] [PATCH] i965: Rework Sandy Bridge HiZ and stencil layouts

2017-05-29 Thread Pohjolainen, Topi
On Mon, May 29, 2017 at 12:09:01PM -0700, Jason Ekstrand wrote: > Sandy Bridge does not technically support mipmapped depth/stencil. In > order to work around this, we allocate what are effectively completely > separate images for each miplevel, ensure that they are page-aligned, > and manually of

Re: [Mesa-dev] [PATCH] i965: Rework Sandy Bridge HiZ and stencil layouts

2017-05-29 Thread Jason Ekstrand
+chad On Mon, May 29, 2017 at 12:09 PM, Jason Ekstrand wrote: > Sandy Bridge does not technically support mipmapped depth/stencil. In > order to work around this, we allocate what are effectively completely > separate images for each miplevel, ensure that they are page-aligned, > and manually o

[Mesa-dev] [PATCH] i965: Rework Sandy Bridge HiZ and stencil layouts

2017-05-29 Thread Jason Ekstrand
Sandy Bridge does not technically support mipmapped depth/stencil. In order to work around this, we allocate what are effectively completely separate images for each miplevel, ensure that they are page-aligned, and manually offset to them. Prior to layered rendering, this was a simple matter of s