dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 92059] [radeonsi, apitrace] Missing textures and geometry in "Middle-earth: Shadow of Mordor"
Date: Tue, 22 Sep 2015 15:41:46 +0000	[thread overview]
Message-ID: <bug-92059-502-NHPaRYn8gS@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-92059-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 2860 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=92059

--- Comment #13 from Kai <kai@dev.carbon-project.org> ---
(In reply to Ilia Mirkin from comment #12)
> (In reply to Kai from comment #11)
> > (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 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.
> > 
> > So, I should probably report this bug to Ferral Interactive (studio
> > responsible for the Linux port), right?
> 
> That would be ideal.

Done (by e-mail). Lets see, if I hear back from them or if they fix it.

> > > You could force-enable it by setting force_glsl_extensions_warn=1 and
> > > MESA_EXTENSION_OVERRIDE=GL_ARB_arrays_of_arrays ... I think.
> > 
> > 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?
> 
> As I mentioned, merely having the ext available wouldn't make that shader
> compile. The ext would also have to be enabled in the shader.

Yes, I understand. But this would still leave radeonsi without required
functionality. So making this bug about enabling GL_ARB_arrays_of_arrays for an
application that (pretends*) to need it, seemed reasonable and more
descriptive.

* I've played about 30 minutes now with those environment variables set and
haven't noticed any visual corruption on radeonsi which doesn't expose
GL_ARB_arrays_of_arrays. So I'm not sure if the game actually *needs* the
extension?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 4458 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2015-09-22 15:41 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-20 17:30 [Bug 92059] Missing textures and geometry in "Middle-earth: Shadow of Mordor" bugzilla-daemon
2015-09-20 17:32 ` bugzilla-daemon
2015-09-20 23:38 ` bugzilla-daemon
2015-09-21 15:19 ` bugzilla-daemon
2015-09-21 15:33 ` bugzilla-daemon
2015-09-21 17:00 ` bugzilla-daemon
2015-09-21 17:02 ` bugzilla-daemon
2015-09-21 17:07 ` bugzilla-daemon
2015-09-21 18:22 ` bugzilla-daemon
2015-09-21 18:28 ` [Bug 92059] [radeonsi, apitrace] " bugzilla-daemon
2015-09-22  5:35 ` bugzilla-daemon
2015-09-22  5:46 ` bugzilla-daemon
2015-09-22 14:03 ` bugzilla-daemon
2015-09-22 14:53 ` bugzilla-daemon
2015-09-22 15:41 ` bugzilla-daemon [this message]
2015-09-22 15:51 ` bugzilla-daemon
2015-09-26 14:40 ` bugzilla-daemon
2015-09-26 15:32 ` bugzilla-daemon
2015-11-17 20:10 ` bugzilla-daemon
2015-11-17 20:11 ` bugzilla-daemon
2016-04-07 11:45 ` bugzilla-daemon
2016-04-23 16:55 ` bugzilla-daemon
2016-04-25  9:07 ` bugzilla-daemon
2016-04-25 13:43 ` bugzilla-daemon
2016-05-14 20:02 ` bugzilla-daemon
2016-06-06  9:31 ` bugzilla-daemon
2016-06-20 19:12 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-92059-502-NHPaRYn8gS@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox