<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Using array in structure results in wrong GLSL compilation output"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103955#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Using array in structure results in wrong GLSL compilation output"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103955">bug 103955</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=135757" name="attach_135757" title="shader_test that repros the issue">attachment 135757</a> <a href="attachment.cgi?id=135757&action=edit" title="shader_test that repros the issue">[details]</a></span>
shader_test that repros the issue
In the TGSI this comes out as
FRAG
PROPERTY FS_COLOR0_WRITES_ALL_CBUFS 1
DCL OUT[0], COLOR
DCL CONST[0][0..3]
DCL TEMP[0..1], LOCAL
IMM[0] FLT32 { 1.0000, 0.0000, 0.0000, 0.0000}
0: MOV TEMP[0].w, IMM[0].xxxx
1: MUL TEMP[0].xyz, CONST[0][0].xyzz, CONST[0][1]
2: MOV TEMP[1], TEMP[0]
3: MOV OUT[0], TEMP[1]
4: END
Which is clearly bogus. That needs to be CONST[0][1].xxx
Haven't looked further than that. This sounds familiar though for some reason.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>