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

2015-11-02 Thread Ben Widawsky
On Mon, Nov 02, 2015 at 12:05:32PM -0800, 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

[Mesa-dev] [PATCH] 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