[Mesa-dev] Mesa (master): docs: Update GL3.txt.

Eric Anholt eric at anholt.net
Wed Jul 11 07:37:41 PDT 2012

Bryan Cain <plombex342 at gmail.com> writes:

> On 07/11/2012 12:24 AM, Eric Anholt wrote:
>> Kenneth Graunke <kwg at kemper.freedesktop.org> writes:
>>> inverse() has been done for a while.
>> Does the inverse() builtin constant expression handling work for
>> you?  It doesn't here.
>>> None of us know what "highp change" means;
>> GLSL 1.40 spec: "Make the default precision qualification for fragment
>> shader be high." -- it was also on our task list.
> Like the commit message said, precision qualifiers are entirely ignored
> by the GLSL compiler - they don't even make it to the IR stage.  So
> there's no such thing as a "default" here since it doesn't have a value
> at all for any variable in the IR.

You are still supposed to do some checking.  "The same object declared
in different shaders that are linked together must have the same
precision qualification. This applies to inputs, outputs, uniforms, and
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120711/1bdd101c/attachment.pgp>

More information about the mesa-dev mailing list