[Bug 92999] [APITRACE] Shadow of Mordor missing fonts in menu

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 18 13:45:25 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92999

--- Comment #1 from Christoph Brill <egore at gmx.de> ---
Created attachment 119919
  --> https://bugs.freedesktop.org/attachment.cgi?id=119919&action=edit
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"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151118/7343159d/attachment.html>


More information about the dri-devel mailing list