<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Using bool in UBO as if-statement condition asserts"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83468">83468</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Using bool in UBO as if-statement condition asserts
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=105711" name="attach_105711" title="Use bool from UBO as if-statement condition">attachment 105711</a> <a href="attachment.cgi?id=105711&action=edit" title="Use bool from UBO as if-statement condition">[details]</a></span>
Use bool from UBO as if-statement condition
The attached shader causes the following assertion failure:
shader_runner: brw_vec4_visitor.cpp:856: void
brw::vec4_visitor::emit_bool_to_cond_code(ir_rvalue*, brw_predicate*):
Assertion `!"not reached"' failed.
I have only tested on a fairly stale version of my gles3conform-v5 branch, so
this issue may not exist in 10.3 or master branches. If I don't submit a bug,
I'll forget about it...</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>