https://bugs.freedesktop.org/show_bug.cgi?id=92999
Bug ID: 92999 Summary: [APITRACE] Shadow of Mordor missing fonts in menu Product: Mesa Version: 11.0 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: egore@gmx.de QA Contact: dri-devel@lists.freedesktop.org
Shadows of Mordor is missing several fonts in the menu. An APITRACE can be found at: https://drive.google.com/file/d/0BxAIK4wsKm_YS1dWT0FGd2hVX00/view?usp=sharin...
https://bugs.freedesktop.org/show_bug.cgi?id=92999
--- Comment #1 from Christoph Brill egore@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"
https://bugs.freedesktop.org/show_bug.cgi?id=92999
--- Comment #2 from Ilia Mirkin imirkin@alum.mit.edu --- (In reply to Christoph Brill from comment #1)
Created attachment 119919 [details] 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 think that's bad? How about the 'offest' typo? :) You need to force GL4 in order to do the trace. Might want to also have a copy of r600g that enables ARB_gpu_shader5 (which will remove the need for those wrong overrides).
https://bugs.freedesktop.org/show_bug.cgi?id=92999
Vedran Miletić vedran@miletic.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |77449
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=77449 [Bug 77449] Tracker bug for all bugs related to Steam titles
https://bugs.freedesktop.org/show_bug.cgi?id=92999
Timothy Arceri t_arceri@yahoo.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTABUG Status|NEW |RESOLVED
--- Comment #3 from Timothy Arceri t_arceri@yahoo.com.au --- Not a mesa bug closing.
dri-devel@lists.freedesktop.org