Re: [Mesa-dev] [PATCH 1/3] glsl: Add a new matching_signature() variant that returns exact/inexact.

2011-11-14 Thread Paul Berry
On 11 November 2011 02:56, Kenneth Graunke kenn...@whitecape.org wrote: When matching function signatures across multiple linked shaders, we often want to see if the current shader has _any_ match, but also know whether or not it was exact. (If not, we may want to keep looking.) This could

Re: [Mesa-dev] [PATCH 1/3] glsl: Add a new matching_signature() variant that returns exact/inexact.

2011-11-14 Thread Kenneth Graunke
On 11/14/2011 10:20 AM, Paul Berry wrote: On 11 November 2011 02:56, Kenneth Graunke kenn...@whitecape.org mailto:kenn...@whitecape.org wrote: When matching function signatures across multiple linked shaders, we often want to see if the current shader has _any_ match, but also know

[Mesa-dev] [PATCH 1/3] glsl: Add a new matching_signature() variant that returns exact/inexact.

2011-11-11 Thread Kenneth Graunke
When matching function signatures across multiple linked shaders, we often want to see if the current shader has _any_ match, but also know whether or not it was exact. (If not, we may want to keep looking.) This could be done via the existing mechanisms: sig =