From: bugzilla-daemon@freedesktop.org Subject: [Bug 92999] [APITRACE] Shadow of Mordor missing fonts in menu Date: Wed, 18 Nov 2015 21:45:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1342376825==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 07F626E646 for ; Wed, 18 Nov 2015 13:45:25 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1342376825== Content-Type: multipart/alternative; boundary="1447883124.DDBD770.22678"; charset="UTF-8" --1447883124.DDBD770.22678 Date: Wed, 18 Nov 2015 21:45:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92999 --- Comment #1 from Christoph Brill --- 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. --1447883124.DDBD770.22678 Date: Wed, 18 Nov 2015 21:45:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 92999 from
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 are receiving this mail because:
  • You are the assignee for the bug.
--1447883124.DDBD770.22678-- --===============1342376825== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1342376825==--