<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - vtn_vector_construct writing out of bounds when given multiple non-zero length sources"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99465#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - vtn_vector_construct writing out of bounds when given multiple non-zero length sources"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99465">bug 99465</a>
from <span class="vcard"><a class="email" href="mailto:jason@jlekstrand.net" title="Jason Ekstrand <jason@jlekstrand.net>"> <span class="fn">Jason Ekstrand</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=129377" name="attach_129377" title="Invalid SPIR-V shader">attachment 129377</a> <a href="attachment.cgi?id=129377&action=edit" title="Invalid SPIR-V shader">[details]</a></span>
Invalid SPIR-V shader
I've attached the invalid shader. The second OpCompositeConstruct in the
shader violates the SPIR-V spec in two ways. It constructs a vec2 from a
single vec3 but
<span class="quote">> When constructing a vector, the total number of components in all the operands
> must equal the number of components in Result Type.</span >
and
<span class="quote">> When constructing a vector, there must be at least two Constituent operands.</span >
Yes, we could make our SPIR-V parser handle this and it might be useful for
debugging purposes, but it's definitely invalid and needs to be fixed.</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>