<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [UBO] Assertion for array of blocks"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83508#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [UBO] Assertion for array of blocks"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83508">bug 83508</a>
from <span class="vcard"><a class="email" href="mailto:apuentes@igalia.com" title="Antia Puentes <apuentes@igalia.com>"> <span class="fn">Antia Puentes</span></a>
</span></b>
<pre>Should be fixed by:
commit e92c35a8724efd36a35ac9106e5977c5ec2cb332
Author: Antia Puentes <<a href="mailto:apuentes@igalia.com">apuentes@igalia.com</a>>
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.nested_structs_arrays_instance_arrays.19
* dEQP-GLES3.functional.ubo.random.all_per_block_buffers.49
* dEQP-GLES3.functional.ubo.random.all_shared_buffer.36
Bugzilla: <a class="bz_bug_link
bz_status_NEW "
title="NEW - [UBO] Assertion for array of blocks"
href="show_bug.cgi?id=83508">https://bugs.freedesktop.org/show_bug.cgi?id=83508</a>
Tested-by: Tapani Pälli <<a href="mailto:tapani.palli@intel.com">tapani.palli@intel.com</a>>
Reviewed-by: Timothy Arceri <<a href="mailto:t_arceri@yahoo.com.au">t_arceri@yahoo.com.au</a>>
Reviewed-by: Kristian Høgsberg <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>