<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - fs_generator::generate_code(const cfg_t*, int): Assertion `inst->force_writemask_all' failed in Witcher2 with INTEL_DEBUG=shader_time"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86974">86974</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>fs_generator::generate_code(const cfg_t*, int): Assertion `inst->force_writemask_all' failed in Witcher2 with INTEL_DEBUG=shader_time
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/DRI/i965
</td>
</tr>
<tr>
<th>Assignee</th>
<td>idr@freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>eero.t.tamminen@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-3d-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=110411" name="attach_110411" title="Gdb output on the assert">attachment 110411</a> <a href="attachment.cgi?id=110411&action=edit" title="Gdb output on the assert">[details]</a></span>
Gdb output on the assert
Setup:
- HSW GT3e
- Ubuntu 14.10
- Latest Mesa (ef7e0b39a24966526b102643523feac765771842),
built with --enable-debug
Steps:
- export following environment variable:
INTEL_DEBUG=shader_time
- run Witcher2 with above env variable and latest Mesa
Result:
- Game crashes to an assert
More info:
- Crash happens only with "shader_time".
- If Mesa isn't compiled with --enable-debug, one needs to select "Arena" from
the game main menu and only then it will crash
---------------
Mesa: User error: GL_INVALID_OPERATION in
glRenderbufferStorageMultisample(samples)
Mesa: User error: GL_INVALID_OPERATION in
glRenderbufferStorageMultisample(samples)
Mesa: User error: GL_INVALID_OPERATION in
glRenderbufferStorageMultisample(samples)
Mesa: User error: GL_INVALID_OPERATION in
glRenderbufferStorageMultisample(samples)
Mesa: User error: GL_INVALID_OPERATION in
glRenderbufferStorageMultisample(samples)
Mesa: User error: GL_INVALID_OPERATION in
glRenderbufferStorageMultisample(samples)
Mesa: User error: GL_INVALID_OPERATION in
glRenderbufferStorageMultisample(samples)
Mesa: User error: GL_INVALID_OPERATION in
glRenderbufferStorageMultisample(samples)
glCreateShader is no-op
glShaderSource is no-op
glCompileShader is no-op
glCreateShader is no-op
...
glCreateShader is no-op
glShaderSource is no-op
glCompileShader is no-op
witcher2:
../../../../../../src/mesa/drivers/dri/i965/brw_fs_generator.cpp:1567: int
fs_generator::generate_code(const cfg_t*, int): Assertion
`inst->force_writemask_all' failed.
---------------
Gdb output is attached.</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>