Re: [Mesa-dev] [PATCH] [v2] i965: Fix texture views of 2d array surfaces

2015-12-07 Thread Anuj Phogat
On Mon, Nov 2, 2015 at 2:57 PM, Ben Widawsky wrote: > > It is legal to have a texture view of a single layer from a 2D array texture; > you can sample from it, or render to it. Intel hardware needs to be made aware > when it is using a 2d array surface in the surface state. The texture view is > j

[Mesa-dev] [PATCH] [v2] i965: Fix texture views of 2d array surfaces

2015-11-02 Thread Ben Widawsky
It is legal to have a texture view of a single layer from a 2D array texture; you can sample from it, or render to it. Intel hardware needs to be made aware when it is using a 2d array surface in the surface state. The texture view is just a 2d surface with the backing miptree actually being a 2d a