[Bug 83508] [UBO] Assertion for array of blocks

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 25 01:56:00 PDT 2015


--- Comment #5 from Antia Puentes <apuentes at igalia.com> ---
Should be fixed by:

commit e92c35a8724efd36a35ac9106e5977c5ec2cb332
Author: Antia Puentes <apuentes at igalia.com>
Date:   Wed Jul 29 16:01:24 2015 +0200

    glsl: Mark as active all elements of shared/std140 block arrays

    Commit 1ca25ab (glsl: Do not eliminate 'shared' or 'std140' blocks
    or block members) considered as active 'shared' and 'std140' uniform
    blocks and uniform block arrays, but did not include the block array
    elements. Because of that, it was possible to have an active uniform
    block array without any elements marked as used, making the assertion
       ((b->num_array_elements > 0) == b->type->is_array())
    in link_uniform_blocks() fail.

    Fixes the following 5 dEQP tests:

     * dEQP-GLES3.functional.ubo.random.nested_structs_instance_arrays.18
     * dEQP-GLES3.functional.ubo.random.nested_structs_instance_arrays.24
     * dEQP-GLES3.functional.ubo.random.all_per_block_buffers.49
     * dEQP-GLES3.functional.ubo.random.all_shared_buffer.36

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83508
    Tested-by: Tapani Pälli <tapani.palli at intel.com>
    Reviewed-by: Timothy Arceri <t_arceri at yahoo.com.au>
    Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>

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/20150925/95e01c30/attachment.html>

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