[Mesa-dev] [Bug 96617] gl_SecondaryFragDataEXT doesn't work for extended blend func

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 22 02:02:39 UTC 2016


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

Ilia Mirkin <imirkin at alum.mit.edu> changed:

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

--- Comment #3 from Ilia Mirkin <imirkin at alum.mit.edu> ---
I pushed a slightly improved version of the patch:

commit 36ed1b695e5a0ae5714b79cae3a089b5e7e8bd29
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Tue Jun 21 16:16:17 2016 -0400

    glsl: only match gl_FragData and not gl_SecondaryFragDataEXT

    There's special logic around finding gl_FragData. It latches onto any
    array with FRAG_RESULT_DATA0. However gl_SecondaryFragDataEXT[], added
    by GL_EXT_blend_func_extended, fits those parameters as well. The real
    frag data array should have index 0 though, so we can use that to
    distinguish them.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96617
    Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
    Cc: "11.1 11.2 12.0" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160622/b5e3b00f/attachment.html>


More information about the mesa-dev mailing list