[Bug 96495] [radeonsi] can't compile shaders with pow(10.0, x)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 11 14:07:18 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96495

            Bug ID: 96495
           Summary: [radeonsi] can't compile shaders with pow(10.0, x)
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: vegorov180 at gmail.com
        QA Contact: dri-devel at lists.freedesktop.org

For example https://www.shadertoy.com/view/MddGzf 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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160611/f51fe135/attachment-0001.html>


More information about the dri-devel mailing list