From: bugzilla-daemon@freedesktop.org Subject: [Bug 92999] [APITRACE] Shadow of Mordor missing fonts in menu Date: Wed, 18 Nov 2015 21:47:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1501211796==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 080C56E6BD for ; Wed, 18 Nov 2015 13:47:17 -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 --===============1501211796== Content-Type: multipart/alternative; boundary="1447883236.f63A1081.23185"; charset="UTF-8" --1447883236.f63A1081.23185 Date: Wed, 18 Nov 2015 21:47:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92999 --- Comment #2 from Ilia Mirkin --- (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). -- You are receiving this mail because: You are the assignee for the bug. --1447883236.f63A1081.23185 Date: Wed, 18 Nov 2015 21:47:16 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 92999 from
(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).


You are receiving this mail because:
  • You are the assignee for the bug.
--1447883236.f63A1081.23185-- --===============1501211796== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1501211796==--