<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [radeonsi, apitrace] Missing textures and geometry in "Middle-earth: Shadow of Mordor""
href="https://bugs.freedesktop.org/show_bug.cgi?id=92059#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [radeonsi, apitrace] Missing textures and geometry in "Middle-earth: Shadow of Mordor""
href="https://bugs.freedesktop.org/show_bug.cgi?id=92059">bug 92059</a>
from <span class="vcard"><a class="email" href="mailto:kai@dev.carbon-project.org" title="Kai <kai@dev.carbon-project.org>"> <span class="fn">Kai</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=118397" name="attach_118397" title="Setting environment variables yields visible bodies.">attachment 118397</a> <a href="attachment.cgi?id=118397&action=edit" title="Setting environment variables yields visible bodies.">[details]</a></span>
Setting environment variables yields visible bodies.
(In reply to Ilia Mirkin from <a href="show_bug.cgi?id=92059#c10">comment #10</a>)
<span class="quote">> (In reply to Timothy Arceri from <a href="show_bug.cgi?id=92059#c9">comment #9</a>)
> > (In reply to Ilia Mirkin from <a href="show_bug.cgi?id=92059#c7">comment #7</a>)
> > > (In reply to Kai from <a href="show_bug.cgi?id=92059#c5">comment #5</a>)
> > > > Also, the game seems to choke on the missing AoA functionality or at least
> > > > doesn't check whether it can use AoA:
> > > > > 0:9(23): error: GL_ARB_arrays_of_arrays required for defining arrays of arrays
> > >
> > > I guess line 9 is: out vec4 vControlPoint[][2];
> > >
> > > Which should work without AoA. I wonder if this was recently broken by the
> > > AoA support patches... Or maybe it started out broken.
> >
> > It seems to me that this should fail, and is correctly doing so. >From the
> > tessellation spec:
> >
> > [...]
> >
> > Is there something I'm missing?
>
> 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.</span >
So, I should probably report this bug to Ferral Interactive (studio responsible
for the Linux port), right?
<span class="quote">> You could force-enable it by setting force_glsl_extensions_warn=1 and
> MESA_EXTENSION_OVERRIDE=GL_ARB_arrays_of_arrays ... I think.</span >
The correct override is:
# force_glsl_extensions_warn=true
MESA_EXTENSION_OVERRIDE=GL_ARB_arrays_of_arrays
Setting force_glsl_extension_warn=1 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 »[radeonsi] Implement GL_ARB_arrays_of_arrays for
"Middle-earth: Shadow of Mordor"« then?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>