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

Timothy Arceri timothy.arceri at collabora.com
Thu May 26 04:53:26 UTC 2016


On Tue, 2016-05-24 at 11:34 +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 floats so we enable packing for them.
> 
> V2: fix comments and only call without_array() one type once. Also
> make sure we don't enable packing for doubles if we are dealing
> with a tessellation interface that doesn't support packing.
> 
> Cc: Iago Toral Quiroga <itoral at igalia.com>
> ---


Hi Iago,

I've sent an alternative to this here:

https://patchwork.freedesktop.org/patch/89273/


More information about the mesa-dev mailing list