Re: [Mesa-dev] [PATCH 11/11] i965: Use nir_lower_tex for texture coordinate lowering

2015-11-16 Thread Iago Toral
On Mon, 2015-11-16 at 07:55 -0800, Jason Ekstrand wrote: > On Mon, Nov 16, 2015 at 6:27 AM, Iago Toral wrote: > > On Mon, 2015-11-16 at 11:33 +0100, Iago Toral wrote: > >> On Wed, 2015-11-11 at 17:26 -0800, Jason Ekstrand wrote: > >> > Previously, we had a rescale_texcoords helper in the FS backen

Re: [Mesa-dev] [PATCH 11/11] i965: Use nir_lower_tex for texture coordinate lowering

2015-11-16 Thread Jason Ekstrand
On Mon, Nov 16, 2015 at 6:27 AM, Iago Toral wrote: > On Mon, 2015-11-16 at 11:33 +0100, Iago Toral wrote: >> On Wed, 2015-11-11 at 17:26 -0800, Jason Ekstrand wrote: >> > Previously, we had a rescale_texcoords helper in the FS backend for >> > handling rescaling of texture coordinates. Now that w

Re: [Mesa-dev] [PATCH 11/11] i965: Use nir_lower_tex for texture coordinate lowering

2015-11-16 Thread Iago Toral
On Mon, 2015-11-16 at 11:33 +0100, Iago Toral wrote: > On Wed, 2015-11-11 at 17:26 -0800, Jason Ekstrand wrote: > > Previously, we had a rescale_texcoords helper in the FS backend for > > handling rescaling of texture coordinates. Now that we can do variants in > > NIR, we can use nir_lower_tex to

Re: [Mesa-dev] [PATCH 11/11] i965: Use nir_lower_tex for texture coordinate lowering

2015-11-16 Thread Iago Toral
On Wed, 2015-11-11 at 17:26 -0800, Jason Ekstrand wrote: > Previously, we had a rescale_texcoords helper in the FS backend for > handling rescaling of texture coordinates. Now that we can do variants in > NIR, we can use nir_lower_tex to do the rescaling for us. This allows us > to delete the i96

[Mesa-dev] [PATCH 11/11] i965: Use nir_lower_tex for texture coordinate lowering

2015-11-11 Thread Jason Ekstrand
Previously, we had a rescale_texcoords helper in the FS backend for handling rescaling of texture coordinates. Now that we can do variants in NIR, we can use nir_lower_tex to do the rescaling for us. This allows us to delete the i965-specific code and gives us proper TEXTURE_RECTANGLE and GL_CLAM