<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - error: linking with uncompiled/unspecialized shader"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108646#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - error: linking with uncompiled/unspecialized shader"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108646">bug 108646</a>
from <span class="vcard"><a class="email" href="mailto:madcatx@atlas.cz" title="madcatx@atlas.cz">madcatx@atlas.cz</a>
</span></b>
<pre>I have recently run into this too and I have spent the better part of Saturday
trying to track this down, although unsuccessfully. FTR I noticed this issue as
some misrendering and missing transparency in KDE. It also makes Unigine:
Superposition benchmark abort. This is on a desktop machine with Radeon RX570.
As there were not that many changes between mesa 18.2.2 and 18.2.3 I tried to
bisect the issue to no avail. The weird part is that even when I build
mesa-18.2.2 from source I still get the "error: invalid input layout qualifier
used" failure message. I even went back to mesa-18.2.1 but I got the same
result. The only way how to "fix" this appears to be installation of
mesa-18.2.2 from official Fedora packages. Unless I have been doing something
terribly wrong I am starting to think that this may not be a mesa issue after
all.
I have mesa-18.2.4 installed on my laptop with HD3000 GPU running Arch Linux
and it is all fine there.
The shader that KWin fails to compile is as simple as this:
#version 140
uniform mat4 colorMatrix;
uniform sampler2D sampler;
uniform float opacity;
noperspective in vec4 varyingTexCoords;
out vec4 fragColor;
void main(void)
{
vec4 tex = texture(sampler, varyingTexCoords.st);
if (opacity >= 1.0) {
fragColor = tex * colorMatrix;
} else {
fragColor = tex * (opacity * colorMatrix + (1.0 - opacity) *
mat4(1.0));
}
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>