Re: [Mesa-dev] [PATCH] i915: Fix texcoord vs. varying collision in fragment programs

2015-10-03 Thread Matt Turner
On Wed, Aug 13, 2014 at 10:07 AM, wrote: > From: Ville Syrjälä > > i915 fragment programs utilize the texture coordinate registers > for both texture coordinates and varyings. Unfortunately the > code doesn't check if the same index might be in use for both. > It just naively uses the index to p

[Mesa-dev] [PATCH] i915: Fix texcoord vs. varying collision in fragment programs

2014-08-13 Thread ville . syrjala
From: Ville Syrjälä i915 fragment programs utilize the texture coordinate registers for both texture coordinates and varyings. Unfortunately the code doesn't check if the same index might be in use for both. It just naively uses the index to pick a texture unit, which could lead to collisions. A