[Mesa-dev] [Bug 92945] [llvmpipe] [softpipe] piglit fs-ldexp-dvec4 regression

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 16 14:42:10 PST 2015


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

Vinson Lee <vlee at freedesktop.org> changed:

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

--- Comment #2 from Vinson Lee <vlee at freedesktop.org> ---
commit 750393ff7d6162372f368f5ed726b23f4cae49a0
Author: Iago Toral Quiroga <itoral at igalia.com>
Date:   Fri Nov 27 12:46:20 2015 +0100

    glsl/dead_builin_varyings: Fix gl_FragData array lowering

    The current implementation looks for array dereferences on gl_FragData and
    immediately proceeds to lower them, however this is not enough because we
    can have array access on vector variables too, like in this code:

    out vec4 color;
    void main()
    {
       int i;
       for (i = 0; i < 4; i++)
          color[i] = 1.0;
    }

    Fix it by making sure that the actual variable being dereferenced is an
array.

    Fixes a crash in:
   
spec/arb_gpu_shader_fp64/execution/built-in-functions/fs-ldexp-dvec4.shader_test

    Reviewed-by: Tapani Pälli <tapani.palli at intel.com>

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


More information about the mesa-dev mailing list