dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 96495] [radeonsi] can't compile shaders with pow(10.0, x)
@ 2016-06-11 14:07 bugzilla-daemon
  2016-06-13  8:45 ` bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-06-11 14:07 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2019 bytes --]

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@lists.freedesktop.org
          Reporter: vegorov180@gmail.com
        QA Contact: dri-devel@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.

[-- Attachment #1.2: Type: text/html, Size: 3614 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 96495] [radeonsi] can't compile shaders with pow(10.0, x)
  2016-06-11 14:07 [Bug 96495] [radeonsi] can't compile shaders with pow(10.0, x) bugzilla-daemon
@ 2016-06-13  8:45 ` bugzilla-daemon
  2016-06-13  9:06 ` bugzilla-daemon
  2016-10-03 12:38 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-06-13  8:45 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 253 bytes --]

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

--- Comment #1 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Hi Vladislav, thanks for the report. I'm looking into it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1038 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 96495] [radeonsi] can't compile shaders with pow(10.0, x)
  2016-06-11 14:07 [Bug 96495] [radeonsi] can't compile shaders with pow(10.0, x) bugzilla-daemon
  2016-06-13  8:45 ` bugzilla-daemon
@ 2016-06-13  9:06 ` bugzilla-daemon
  2016-10-03 12:38 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-06-13  9:06 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 258 bytes --]

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

--- Comment #2 from Nicolai Hähnle <nhaehnle@gmail.com> ---
The patch at http://reviews.llvm.org/D21282 fixes this for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1088 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 96495] [radeonsi] can't compile shaders with pow(10.0, x)
  2016-06-11 14:07 [Bug 96495] [radeonsi] can't compile shaders with pow(10.0, x) bugzilla-daemon
  2016-06-13  8:45 ` bugzilla-daemon
  2016-06-13  9:06 ` bugzilla-daemon
@ 2016-10-03 12:38 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2016-10-03 12:38 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 609 bytes --]

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

Daniel Scharrer <daniel@constexpr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Daniel Scharrer <daniel@constexpr.org> ---
The patch linked in comment #2 has been merged and the shadertoy testcase works
for me with git Mesa & LLVM.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2159 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-03 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-11 14:07 [Bug 96495] [radeonsi] can't compile shaders with pow(10.0, x) bugzilla-daemon
2016-06-13  8:45 ` bugzilla-daemon
2016-06-13  9:06 ` bugzilla-daemon
2016-10-03 12:38 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).