[Mesa-dev] [PATCH] centroid affects interpolation
Kenneth Graunke
kenneth at whitecape.org
Wed Feb 5 05:02:06 CET 2014
On 02/04/2014 05:01 AM, Kevin Rogovin wrote:
> Place centroid keyword as an interpolation qualifier.
> Previously was a storage qualifier. Fixes front end
> to accept input of the form "centroid in type variable"
No, it doesn't. Without your patch, Mesa successfully compiles the
following shader:
#version 130
centroid in float foo;
which is of the form "centroid in type variable". Chris is right - the
specs are very clear that 'centroid in' was a storage qualifier, and if
420pack is enabled, 'centroid' becomes an auxiliary storage qualifier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140204/9c3956e9/attachment.pgp>
More information about the mesa-dev
mailing list