[Mesa-dev] [Bug 101247] Mesa fails to link GLSL programs with unused output blocks

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 27 10:37:00 UTC 2018


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

--- Comment #3 from vadym <vadym.shovkoplias at globallogic.com> ---
Patch merged to master:

commit 4a8444d5bc865119218eca8674e5614535f4829e (HEAD -> new_master,
origin/master, origin/HEAD)
Author: vadym.shovkoplias <vadim.shovkoplias at gmail.com>
Date:   Thu Aug 23 13:12:16 2018 +0300

    glsl/linker: Allow unused in blocks which are not declated on previous
stage

    >From Section 4.3.4 (Inputs) of the GLSL 1.50 spec:

        "Only the input variables that are actually read need to be written
         by the previous stage; it is allowed to have superfluous
         declarations of input variables."

    Fixes:
        * interstage-multiple-shader-objects.shader_test

    v2:
      Update comment in ir.h since the usage of "used" field
      has been extended.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101247
    Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias at globallogic.com>
    Reviewed-by: Alejandro PiƱeiro <apinheiro at igalia.com>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>

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


More information about the mesa-dev mailing list