<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 - [radeonsi] can't compile shaders with pow(10.0, x)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96495">96495</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[radeonsi] can't compile shaders with pow(10.0, x)
</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/Gallium/radeonsi
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vegorov180@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>For example <a href="https://www.shadertoy.com/view/MddGzf">https://www.shadertoy.com/view/MddGzf</a> LLVM somewhere optimizes it
into exp10f:
56126: message: shader compiler issue 2: LLVM diagnostic (error):
<unknown>:0:0: in function main <{ i32, i32, i32, i32, i32, i32, i32, i32, i32,
i32, i32, float, float, float, float, float, float, float, float, float, float,
float, float, float, float }> ([17 x <16 x i8>] addrspace(2)*, [16 x <16 x i8>]
addrspace(2)*, [32 x <8 x i32>] addrspace(2)*, [16 x <8 x i32>] addrspace(2)*,
[16 x <4 x i32>] addrspace(2)*, float, i32, <2 x i32>, <2 x i32>, <2 x i32>, <3
x i32>, <2 x i32>, <2 x i32>, <2 x i32>, float, float, float, float, float,
i32, i32, float, i32): unsupported call to function exp10f
LLVM triggered Diagnostic Handler: <unknown>:0:0: in function main <{ i32, i32,
i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float,
float, float, float, float, float, float, float, float, float }> ([17 x <16 x
i8>] addrspace(2)*, [16 x <16 x i8>] addrspace(2)*, [32 x <8 x i32>]
addrspace(2)*, [16 x <8 x i32>] addrspace(2)*, [16 x <4 x i32>] addrspace(2)*,
float, i32, <2 x i32>, <2 x i32>, <2 x i32>, <3 x i32>, <2 x i32>, <2 x i32>,
<2 x i32>, float, float, float, float, float, i32, i32, float, i32):
unsupported call to function exp10f
56126: message: shader compiler issue 3: LLVM compile failed
LLVM failed to compile shader
radeonsi: can't create a shader</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>