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 110472] Graphical Fault (Desktop Freeze) on Specific OpenGL Application
Date: Mon, 27 May 2019 02:49:47 +0000	[thread overview]
Message-ID: <bug-110472-502-xKZafEj602@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-110472-502@http.bugs.freedesktop.org/>


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

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

--- Comment #5 from Timothy Arceri <t_arceri@yahoo.com.au> ---
There is a bug in one of their generated shaders.

 error: #extension directive is not allowed in the middle of a shader

Some other drivers allow extension to be defined mid shader but this is invalid
according to the OpenGL spec. You can see the problemn shader below:

#define EMULATION_UBO_BINDING 4
#define CBUF_BINDING_1 5
#define CBUF_BINDING_4 6
#define CBUF_BINDING_12 7
layout (lines) in;           <--- This needs to be after #extension
#define MAX_VERTEX_INPUT 2
#extension GL_ARB_separate_shader_objects : enable


This should be reported to the yuzu devs. For now you can try work around it by
setting the below environment variable when running yuzu. Let me know if this
fixes the issue for you.

allow_glsl_extension_directive_midshader=true

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

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

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

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

  parent reply	other threads:[~2019-05-27  2:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-110472-502@http.bugs.freedesktop.org/>
2019-04-23  8:48 ` [Bug 110472] Graphical Fault (Desktop Freeze) on Specific OpenGL Application bugzilla-daemon
2019-04-30  2:48 ` bugzilla-daemon
2019-05-08 15:59 ` bugzilla-daemon
2019-05-09  2:24 ` bugzilla-daemon
2019-05-09  3:12 ` bugzilla-daemon
2019-05-27  2:49 ` bugzilla-daemon [this message]
2019-05-27  2:56 ` bugzilla-daemon
2019-09-25 18:49 ` 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-110472-502-xKZafEj602@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