<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 - [regression, bisected] retroarch's crt-royale shader crash radv"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109204">109204</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[regression, bisected] retroarch's crt-royale shader crash radv
</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/Vulkan/radeon
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>oschowa@web.de
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=142933" name="attach_142933" title="bisect log">attachment 142933</a> <a href="attachment.cgi?id=142933&action=edit" title="bisect log">[details]</a></span>
bisect log
When running retroarch with any of the crt-royale shaders applied, it crashed
within libvulkan_radeon.so.
This affects Mesa 18.3.1 and current -git 8c93ef5de98a90a93, 18.2.8 works fine.
LLVM version doesn't seem to make a difference. AMDVLK also works as expected.
Bisecting produced the first bad commit as:
commit a45b6fb45246f6b8e2b4a06977f199cc77452289
Author: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
Date: Sat Sep 22 09:46:26 2018 -0500
spirv: Pass SSA values through functions
Previously, we would create temporary variables and fill them out.
Instead, we create as many function parameters as we need and pass them
through as SSA defs.
Reviewed-by: Iago Toral Quiroga <<a href="mailto:itoral@igalia.com">itoral@igalia.com</a>>
The crt-royale slang shader can be found here:
<a href="https://github.com/libretro/slang-shaders/tree/master/crt">https://github.com/libretro/slang-shaders/tree/master/crt</a>
I'll attach the bisect log, a gdb backtrace, and a coredump.
coredump: <a href="https://drive.google.com/open?id=13weXQtqouPYlJeER0kYXDJHDJGK7AZl9">https://drive.google.com/open?id=13weXQtqouPYlJeER0kYXDJHDJGK7AZl9</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>