[Mesa-dev] About the usage of the "flat" interpolation qualifier with input (unsigned) integers and doubles in fragment shaders

Andres Gomez agomez at igalia.com
Fri Mar 4 13:51:40 UTC 2016


I tried to be careful, and still I introduced a mistake ...

On Fri, 2016-03-04 at 15:43 +0200, Andres Gomez wrote:
...
> The situation with the glslangValidator is (it doesn't support doubles):
>       * When using a non-flat integer as a fragment input in the form of
>         an array or as a member of a struct it fails with an error of
>         the type:
> 
> int' : must be qualified as flat in
> 
>       * When using a non-flat integer as a fragment input in the form of
>         a member of an interface block it succeeds on compilation.

Not correct. The actual situation is that it fails with scalars and
arrays, but it doesn't fail with structs and interface blocks.

-- 
Br,

Andres
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160304/f6b180fa/attachment.sig>


More information about the mesa-dev mailing list