[Mesa-dev] [PATCH v3 8/8] intel/isl: Allow non-2D HiZ surfaces
Jason Ekstrand
jason at jlekstrand.net
Tue Sep 27 19:39:02 UTC 2016
On Sep 27, 2016 10:10 AM, "Nanley Chery" <nanleychery at gmail.com> wrote:
>
> On Tue, Sep 27, 2016 at 09:22:05AM -0700, Jason Ekstrand wrote:
> > ---
> > src/intel/isl/isl.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
>
> This patch is
> Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
That's all of them. Feel free to push the lot (I'm on vacation) or to put
them in your series.
> > diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
> > index 749d228..9735d26 100644
> > --- a/src/intel/isl/isl.c
> > +++ b/src/intel/isl/isl.c
> > @@ -1346,11 +1346,11 @@ isl_surf_get_hiz_surf(const struct isl_device
*dev,
> > const unsigned samples = ISL_DEV_GEN(dev) >= 9 ? 1 : surf->samples;
> >
> > isl_surf_init(dev, hiz_surf,
> > - .dim = ISL_SURF_DIM_2D,
> > + .dim = surf->dim,
> > .format = ISL_FORMAT_HIZ,
> > .width = surf->logical_level0_px.width,
> > .height = surf->logical_level0_px.height,
> > - .depth = 1,
> > + .depth = surf->logical_level0_px.depth,
> > .levels = surf->levels,
> > .array_len = surf->logical_level0_px.array_len,
> > .samples = samples,
> > --
> > 2.5.0.400.gff86faf
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160927/c9023810/attachment.html>
More information about the mesa-dev
mailing list