[Bug 74026] New: Compiler rejects chained assignments involving array dereferences

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 24 10:33:51 PST 2014


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

          Priority: medium
            Bug ID: 74026
          Assignee: idr at freedesktop.org
           Summary: Compiler rejects chained assignments involving array
                    dereferences
        QA Contact: intel-3d-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: idr at freedesktop.org
               URL: http://lists.freedesktop.org/archives/piglit/2014-Janu
                    ary/009223.html
          Hardware: Other
            Status: NEW
           Version: git
         Component: glsl-compiler
           Product: Mesa

Shaders of the form:

void foo(inout vec4 a, float b)
{
    a[0] = a[1] = a[2] = b;
}

generate errors like:

0:5(12): error: value of type vec4 cannot be assigned to variable of type float

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


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