Re: [Mesa-dev] [PATCH] glsl: Clamp vector indices when lowering to swizzles

2011-11-08 Thread Kenneth Graunke
On 11/07/2011 11:12 AM, Ian Romanick wrote: From: Ian Romanick This prevents other code from seeing a swizzle of the 16th component of a vector, for example. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Ian Romanick Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42517

Re: [Mesa-dev] [PATCH] glsl: Clamp vector indices when lowering to swizzles

2011-11-08 Thread Paul Berry
On 7 November 2011 11:12, Ian Romanick wrote: > From: Ian Romanick > > This prevents other code from seeing a swizzle of the 16th component > of a vector, for example. > > NOTE: This is a candidate for the 7.11 branch. > > Signed-off-by: Ian Romanick > Bugzilla: https://bugs.freedesktop.org/sho

[Mesa-dev] [PATCH] glsl: Clamp vector indices when lowering to swizzles

2011-11-07 Thread Ian Romanick
From: Ian Romanick This prevents other code from seeing a swizzle of the 16th component of a vector, for example. NOTE: This is a candidate for the 7.11 branch. Signed-off-by: Ian Romanick Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42517 --- src/glsl/lower_vec_index_to_swizzle.cpp