[Mesa-dev] Multiple 'OPTION ARB_precision_hint_*' lines in ARB FP shaders

Jonathan Hamilton jtrhamilton at gmail.com
Fri Feb 22 16:44:50 PST 2013

Hi all,

I have an issue where an ARBfp shader does the following:

OPTION ARB_precision_hint_fastest;
OPTION ARB_precision_hint_fastest;

This is then being rejected by the mesa parser.
The spec I found at
http://oss.sgi.com/projects/ogl-sample/registry/ARB/fragment_program.txt says
"Only one precision control option may be specified by any given  fragment
program.", but that seems to be unclear if you are only specifying one of
the options multiple times.

Can anyone help clarify is this is a bug in mesa, or the application?

Jonathan Hamilton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130222/b72469eb/attachment.html>

More information about the mesa-dev mailing list