<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - piglit spec_glsl-1.10_compiler_literals_invalid-float-suffix-capital-f.vert fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81585#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - piglit spec_glsl-1.10_compiler_literals_invalid-float-suffix-capital-f.vert fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=81585">bug 81585</a>
              from <span class="vcard"><a class="email" href="mailto:mattst88@gmail.com" title="Matt Turner <mattst88@gmail.com>"> <span class="fn">Matt Turner</span></a>
</span></b>
        <pre>(In reply to Neil Roberts from <a href="show_bug.cgi?id=81585#c2">comment #2</a>)
<span class="quote">> Using the f suffix on NVidia's proprietary driver version 340.46 with
> #version 110 gives the following error:

> error C7502: OpenGL does not allow type suffix 'f' on constant literals in
> versions below 120

> However, if I leave out the #version line entirely then the error becomes a
> warning and it successfully compiles. The Piglit test doesn't specify the
> #version line so I guess it would fail on NVidia's driver too.</span >

The GLSL spec says "shaders that do not include a #version directive will be
treated as targeting version 110". I think NVidia operates in some relaxed mode
when #version is missing.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>