[Bug 103955] Using array in structure results in wrong GLSL compilation output

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 28 14:25:59 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103955

--- Comment #2 from Ilia Mirkin <imirkin at alum.mit.edu> ---
Created attachment 135757
  --> https://bugs.freedesktop.org/attachment.cgi?id=135757&action=edit
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20171128/e1dc1b93/attachment.html>


More information about the intel-3d-bugs mailing list