<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [APITRACE] Shadow of Mordor missing fonts in menu"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92999#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [APITRACE] Shadow of Mordor missing fonts in menu"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92999">bug 92999</a>
              from <span class="vcard"><a class="email" href="mailto:egore@gmx.de" title="Christoph Brill <egore@gmx.de>"> <span class="fn">Christoph Brill</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=119919" name="attach_119919" title="Simple test program showing a shader compilation error">attachment 119919</a> <a href="attachment.cgi?id=119919&action=edit" title="Simple test program showing a shader compilation error">[details]</a></span>
Simple test program showing a shader compilation error

The shaders generated seem to be a source of the trouble. The compiler dislikes
the following part of the shader:

int bits = ...;
const uint mask = 0xFFFFFFFFu >> (32 - bits);

It complains:
"error: initializer of const variable `mask' must be a constant expression"

Attached is a simple test program to check for this error. Compile and link
using "g++ const_init.cpp -lGL -lSDL2 -lGLEW"</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>