<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:estea@igalia.com" title="Eleni Maria Stea <estea@igalia.com>"> <span class="fn">Eleni Maria Stea</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [GLSL] Unused arrays declared without a size should be handled like arrays of size 1."
href="https://bugs.freedesktop.org/show_bug.cgi?id=106915">bug 106915</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>estea@igalia.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [GLSL] Unused arrays declared without a size should be handled like arrays of size 1."
href="https://bugs.freedesktop.org/show_bug.cgi?id=106915#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [GLSL] Unused arrays declared without a size should be handled like arrays of size 1."
href="https://bugs.freedesktop.org/show_bug.cgi?id=106915">bug 106915</a>
from <span class="vcard"><a class="email" href="mailto:estea@igalia.com" title="Eleni Maria Stea <estea@igalia.com>"> <span class="fn">Eleni Maria Stea</span></a>
</span></b>
<pre>(In reply to Ian Romanick from <a href="show_bug.cgi?id=106915#c2">comment #2</a>)
<span class="quote">> Before we do that... does this work on other implementations? I am very
> surprised that this is valid, as it does not match recollection of how we
> designed SSBOs. I'll be a little surprised if this works on other drivers.
> Let's collection some information about that, then decide how to proceed.</span >
I ran the test on a proprietary ATI driver [1], here's the output:
$ bin/shader_runner
tests/spec/arb_shader_storage_buffer_object/linker/unsized_array_member.shader_test
Failed to compile VS: Vertex shader failed to compile with the following
errors:
ERROR: 0:5: error(#413) Invalid implict array size is used on "uniform block
member", it only can be used on array's outer level
ERROR: 0:4: error(#415) only last member of shader storage buffer can be
unsized array
ERROR: 0:13: error(#143) Undeclared identifier: b
ERROR: 0:13: error(#216) Vector field selection out of range "a"
ERROR: 0:13: error(#145) Left of "[" is not of type array, matrix, or vector:
expression
ERROR: 0:13: error(#160) Cannot convert from: "float" to: "default out highp
4-component vector of vec4"
ERROR: error(#273) 6 compilation errors. No code generated
[1]:
OpenGL renderer string: AMD Radeon HD 7400M Series
OpenGL version string: 4.4.13374 Compatibility Profile Context 13.35.1005
(installed fglrx version: 2:15.200-0ubuntu0.5)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>