[Bug 71254] Mesa crash on shaders that have large number of active uniforms.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 28 15:53:20 PST 2014


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

Ian Romanick <idr at freedesktop.org> changed:

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

--- Comment #8 from Ian Romanick <idr at freedesktop.org> ---
commit 7189fce237cc7f4bc76a85cca8bcf75756d9affc
Author: Petri Latvala <petri.latvala at intel.com>
Date:   Thu Feb 27 16:15:04 2014 +0200

    i965: Allocate vec4_visitor's uniform_size and uniform_vector_size arrays
dynamically.

    v2: Don't add function parameters, pass the required size in
    prog_data->nr_params.

    v3:
    - Use the name uniform_array_size instead of uniform_param_count.
    - Round up when dividing param_count by 4.
    - Use MAX2() instead of taking the maximum by hand.
    - Don't crash if prog_data passed to vec4_visitor constructor is NULL

    v4: Rebase for current master

    v5 (idr): Trivial whitespace change.

    Signed-off-by: Petri Latvala <petri.latvala at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71254
    Cc: "10.1" <mesa-stable at lists.freedesktop.org>
    Reviewed-by: Ian Romanick <ian.d.romanick 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: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140228/06858af5/attachment.html>


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