Re: [Mesa-dev] [PATCH 2/9] i965/vec4: Initialize LOD to 0.0f.

2015-10-20 Thread Matt Turner
On Mon, Oct 19, 2015 at 9:09 PM, Matt Turner wrote: > We implement textureQueryLevels (which takes no arguments, save the > sampler) using the resinfo message (which takes an argument of LOD). > Without initializing it, we'd generate a MOV from the null register to > load the

Re: [Mesa-dev] [PATCH 2/9] i965/vec4: Initialize LOD to 0.0f.

2015-10-20 Thread Iago Toral
On Mon, 2015-10-19 at 23:11 -0700, Matt Turner wrote: > On Mon, Oct 19, 2015 at 9:09 PM, Matt Turner wrote: > > We implement textureQueryLevels (which takes no arguments, save the > > sampler) using the resinfo message (which takes an argument of LOD). > > Without initializing

Re: [Mesa-dev] [PATCH 2/9] i965/vec4: Initialize LOD to 0.0f.

2015-10-20 Thread Matt Turner
On Tue, Oct 20, 2015 at 1:19 AM, Iago Toral wrote: > On Mon, 2015-10-19 at 23:11 -0700, Matt Turner wrote: >> On Mon, Oct 19, 2015 at 9:09 PM, Matt Turner wrote: >> > We implement textureQueryLevels (which takes no arguments, save the >> > sampler) using

[Mesa-dev] [PATCH 2/9] i965/vec4: Initialize LOD to 0.0f.

2015-10-19 Thread Matt Turner
We implement textureQueryLevels (which takes no arguments, save the sampler) using the resinfo message (which takes an argument of LOD). Without initializing it, we'd generate a MOV from the null register to load the LOD argument. --- src/mesa/drivers/dri/i965/brw_vec4_nir.cpp | 2 +- 1 file