Re: [Mesa-dev] [PATCH v4] i965: Fix calculation of layers array length for isl_view

2018-11-16 Thread Danylo Piliaiev
Thanks! On 11/16/18 7:09 AM, Jason Ekstrand wrote: Pushed. On Thu, Nov 15, 2018 at 8:15 PM Jason Ekstrand wrote: Thanks. I'm going to push it once it gets done running through CI. On Thu, Nov 15, 2018 at 4:03 AM Danylo Piliaiev wrote: Handle all cases in calculation of layers count for

Re: [Mesa-dev] [PATCH v4] i965: Fix calculation of layers array length for isl_view

2018-11-15 Thread Jason Ekstrand
Pushed. On Thu, Nov 15, 2018 at 8:15 PM Jason Ekstrand wrote: > Thanks. I'm going to push it once it gets done running through CI. > > On Thu, Nov 15, 2018 at 4:03 AM Danylo Piliaiev > wrote: > >> Handle all cases in calculation of layers count for isl_view >> taking into account texture view

Re: [Mesa-dev] [PATCH v4] i965: Fix calculation of layers array length for isl_view

2018-11-15 Thread Jason Ekstrand
Thanks. I'm going to push it once it gets done running through CI. On Thu, Nov 15, 2018 at 4:03 AM Danylo Piliaiev wrote: > Handle all cases in calculation of layers count for isl_view > taking into account texture view and image unit. > st_convert_image was taken as a reference. > > When u->La

[Mesa-dev] [PATCH v4] i965: Fix calculation of layers array length for isl_view

2018-11-15 Thread Danylo Piliaiev
Handle all cases in calculation of layers count for isl_view taking into account texture view and image unit. st_convert_image was taken as a reference. When u->Layered is true the whole level is taken with respect to image view. In other case only one layer is taken. v3: (Józef Kucia and Ilia Mi