[Bug 107550] "0[2]" as function parameter hits assert

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 15 07:11:28 UTC 2018


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

Tapani Pälli <lemody at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Tapani Pälli <lemody at gmail.com> ---
commit 479a849ad606482c3cf67157b77af94ecd450ace
Author: Danylo Piliaiev <danylo.piliaiev at gmail.com>
Date:   Mon Aug 13 18:57:38 2018 +0300

    glsl: Avoid calling get_array_element for scalar constants

    Accessing scalar constant as an array in function call or
    initializer list triggered assert in get_array_element.
    Examples:
       func(0[0]);
       vec2 t = { 0[0], 0 };

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

    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>

-- 
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/20180815/9340ade4/attachment.html>


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