From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 92059] [radeonsi, apitrace] Missing textures and geometry in "Middle-earth: Shadow of Mordor" Date: Tue, 22 Sep 2015 14:03:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0828547306==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8AFF26E439 for ; Tue, 22 Sep 2015 07:03:04 -0700 (PDT) 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 --===============0828547306== Content-Type: multipart/alternative; boundary="1442930584.3EB3d41a0.6754"; charset="UTF-8" --1442930584.3EB3d41a0.6754 Date: Tue, 22 Sep 2015 14:03:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D92059 --- Comment #11 from Kai --- Created attachment 118397 --> https://bugs.freedesktop.org/attachment.cgi?id=3D118397&action=3Dedit Setting environment variables yields visible bodies. (In reply to Ilia Mirkin from comment #10) > (In reply to Timothy Arceri from comment #9) > > (In reply to Ilia Mirkin from comment #7) > > > (In reply to Kai from comment #5) > > > > Also, the game seems to choke on the missing AoA functionality or a= t least > > > > doesn't check whether it can use AoA: > > > > > 0:9(23): error: GL_ARB_arrays_of_arrays required for defining arr= ays of arrays > > >=20 > > > I guess line 9 is: out vec4 vControlPoint[][2]; > > >=20 > > > Which should work without AoA. I wonder if this was recently broken b= y the > > > AoA support patches... Or maybe it started out broken. > >=20 > > It seems to me that this should fail, and is correctly doing so. From t= he > > tessellation spec: > > > > [...] > >=20 > > Is there something I'm missing? >=20 > Quite right. I forgot about that little bit in the spec. So the issue here > is that (a) AoA isn't supported in mesa, (b) even if it was, the shader > doesn't enable it. Without that, you can't have plain per-vertex array > outputs in TCS. So, I should probably report this bug to Ferral Interactive (studio respons= ible for the Linux port), right? > You could force-enable it by setting force_glsl_extensions_warn=3D1 and > MESA_EXTENSION_OVERRIDE=3DGL_ARB_arrays_of_arrays ... I think. The correct override is: # force_glsl_extensions_warn=3Dtrue MESA_EXTENSION_OVERRIDE=3DGL_ARB_arrays_of_arrays Setting force_glsl_extension_warn=3D1 leads to an error. And indeed, setting those two environment variables leads to visible characters in the game, see the attached screenshot. Should this bug be renamed to =C2=BB[radeonsi] Implement GL_ARB_arrays_of_a= rrays for "Middle-earth: Shadow of Mordor"=C2=AB then? --=20 You are receiving this mail because: You are the assignee for the bug. --1442930584.3EB3d41a0.6754 Date: Tue, 22 Sep 2015 14:03:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 11 on bug 92059<= /a> from Kai
Created attachment 118397 [details]
Setting environment variables yields visible bodies.

(In reply to Ilia Mirkin from comme=
nt #10)
> (In reply to Timothy Arceri from comment #9)
> > (In reply to Ilia Mirkin from comment #7)
> > > (In reply to Kai from comment #5)
> > > > Also, the game seems to choke on the missing AoA functi=
onality or at least
> > > > doesn't check whether it can use AoA:
> > > > > 0:9(23): error: GL_ARB_arrays_of_arrays required f=
or defining arrays of arrays
> > >=20
> > > I guess line 9 is: out vec4 vControlPoint[][2];
> > >=20
> > > Which should work without AoA. I wonder if this was recently=
 broken by the
> > > AoA support patches... Or maybe it started out broken.
> >=20
> > It seems to me that this should fail, and is correctly doing so. =
>>From the
> > tessellation spec:
> >
> > [...]
> >=20
> > Is there something I'm missing?
>=20
> Quite right. I forgot about that little bit in the spec. So the issue =
here
> is that (a) AoA isn't supported in mesa, (b) even if it was, the shader
> doesn't enable it. Without that, you can't have plain per-vertex array
> outputs in TCS.

So, I should probably report this bug to Ferral Interactive (studio respons=
ible
for the Linux port), right?

> You could force-enable it by setting force_glsl_=
extensions_warn=3D1 and
> MESA_EXTENSION_OVERRIDE=3DGL_ARB_arrays_of_arrays ... I think.

The correct override is:
# force_glsl_extensions_warn=3Dtrue
MESA_EXTENSION_OVERRIDE=3DGL_ARB_arrays_of_arrays
Setting force_glsl_extension_warn=3D1 leads to an error. And indeed, setting
those two environment variables leads to visible characters in the game, see
the attached screenshot.

Should this bug be renamed to =C2=BB[radeonsi] Implement GL_ARB_arrays_of_a=
rrays for
"Middle-earth: Shadow of Mordor"=C2=AB then?


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