From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110472] Graphical Fault (Desktop Freeze) on Specific OpenGL Application Date: Mon, 27 May 2019 02:49:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0704191090==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C56889316 for ; Mon, 27 May 2019 02:49:47 +0000 (UTC) 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 --===============0704191090== Content-Type: multipart/alternative; boundary="15589253870.3817c1d.9684" Content-Transfer-Encoding: 7bit --15589253870.3817c1d.9684 Date: Mon, 27 May 2019 02:49:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D110472 --- Comment #5 from Timothy Arceri --- 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 inv= alid 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 i= t by setting the below environment variable when running yuzu. Let me know if th= is fixes the issue for you. allow_glsl_extension_directive_midshader=3Dtrue --=20 You are receiving this mail because: You are the assignee for the bug.= --15589253870.3817c1d.9684 Date: Mon, 27 May 2019 02:49:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 5 on bug 11047= 2 from Timothy Arceri
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 inv=
alid
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 i=
t by
setting the below environment variable when running yuzu. Let me know if th=
is
fixes the issue for you.

allow_glsl_extension_directive_midshader=3Dtrue


You are receiving this mail because:
  • You are the assignee for the bug.
= --15589253870.3817c1d.9684-- --===============0704191090== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0704191090==--