[Mesa-dev] [PATCH] i965/vs: Use the proper dimensionality for the sampler result register.

2012-01-04 Thread Kenneth Graunke
textureSize() returns an int, ivec2, or ivec3, but never an ivec4. Creating the destination register as an ivec4 triggered later failures, even though the register did hold the proper values. For example, piglit test vs-textureSize-compare calls textureSize on a 2D texture and compares the result

Re: [Mesa-dev] [PATCH] i965/vs: Use the proper dimensionality for the sampler result register.

2012-01-04 Thread Ian Romanick
On 01/04/2012 04:07 AM, Kenneth Graunke wrote: textureSize() returns an int, ivec2, or ivec3, but never an ivec4. Creating the destination register as an ivec4 triggered later failures, even though the register did hold the proper values. For example, piglit test vs-textureSize-compare calls

Re: [Mesa-dev] [PATCH] i965/vs: Use the proper dimensionality for the sampler result register.

2012-01-04 Thread Eric Anholt
On Wed, 4 Jan 2012 04:07:24 -0800, Kenneth Graunke kenn...@whitecape.org wrote: textureSize() returns an int, ivec2, or ivec3, but never an ivec4. Creating the destination register as an ivec4 triggered later failures, even though the register did hold the proper values. For example,