<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa fails to link GLSL programs with unused output blocks"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101247#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa fails to link GLSL programs with unused output blocks"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101247">bug 101247</a>
from <span class="vcard"><a class="email" href="mailto:vadym.shovkoplias@globallogic.com" title="vadym <vadym.shovkoplias@globallogic.com>"> <span class="fn">vadym</span></a>
</span></b>
<pre>Patch merged to master:
commit 4a8444d5bc865119218eca8674e5614535f4829e (HEAD -> new_master,
origin/master, origin/HEAD)
Author: vadym.shovkoplias <<a href="mailto:vadim.shovkoplias@gmail.com">vadim.shovkoplias@gmail.com</a>>
Date: Thu Aug 23 13:12:16 2018 +0300
glsl/linker: Allow unused in blocks which are not declated on previous
stage
>From Section 4.3.4 (Inputs) of the GLSL 1.50 spec:
"Only the input variables that are actually read need to be written
by the previous stage; it is allowed to have superfluous
declarations of input variables."
Fixes:
* interstage-multiple-shader-objects.shader_test
v2:
Update comment in ir.h since the usage of "used" field
has been extended.
Bugzilla: <a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa fails to link GLSL programs with unused output blocks"
href="show_bug.cgi?id=101247">https://bugs.freedesktop.org/show_bug.cgi?id=101247</a>
Signed-off-by: Vadym Shovkoplias <<a href="mailto:vadym.shovkoplias@globallogic.com">vadym.shovkoplias@globallogic.com</a>>
Reviewed-by: Alejandro PiƱeiro <<a href="mailto:apinheiro@igalia.com">apinheiro@igalia.com</a>>
Reviewed-by: Timothy Arceri <<a href="mailto:tarceri@itsqueeze.com">tarceri@itsqueeze.com</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>