Re: [Mesa-dev] [PATCH] glsl: add support for doubles in GL 4.4+

2016-05-23 Thread Iago Toral
On Mon, 2016-05-23 at 12:41 +1000, Timothy Arceri wrote: > We disable varying packing in GL 4.4+ as we can no longer assume > varying have the same interpolation qualifiers. However doubles used > as fs inputs must always be qualified as "flat" and backends expect > doubles to have been packed as

[Mesa-dev] [PATCH] glsl: add support for doubles in GL 4.4+

2016-05-22 Thread Timothy Arceri
We disable varying packing in GL 4.4+ as we can no longer assume varying have the same interpolation qualifiers. However doubles used as fs inputs must always be qualified as "flat" and backends expect doubles to have been packed as floats so we enable packing for them. ---