[Bug 76223] [radeonsi] luxmark segfault

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 9 11:18:36 PDT 2014


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

--- Comment #6 from Aaron Watry <awatry at gmail.com> ---
If you're building from luxrays source, can you also try disabling image
support and seeing if the error changes?

For a source build, go to scenes/luxball/luxball.cfg, and add:
accelerator.imagestorage.enable = 1

When I do that, I get some errors related to missing built-in functions that
libclc is probably failing to provide:

[LuxRays] [OpenCL device::AMD CEDARIntersect] QBVH compilation error:
ray_funcs.cl:43:14: error: use of undeclared identifier 'INFINITY'
        ray->maxt = INFINITY;
                    ^
qbvh_kernel.cl:119:17: warning: implicit declaration of function 'isnotequal'
is invalid in C99
    int4 cond = isnotequal(divisor, (float4)0.f) & isgreaterequal(b0,
(float4)0.f) &
                ^
qbvh_kernel.cl:119:52: warning: implicit declaration of function
'isgreaterequal' is invalid in C99
    int4 cond = isnotequal(divisor, (float4)0.f) & isgreaterequal(b0,
(float4)0.f) &
                                                   ^
qbvh_kernel.cl:121:4: warning: implicit declaration of function 'isgreater' is
invalid in C99
                        isgreater(t, ray4->mint);
                        ^
qbvh_kernel.cl:206:21: warning: implicit declaration of function 'signbit' is
invalid in C99
        const int signs0 = signbit(ray4.dx.s0);
                           ^

[SLG] OpenCL ERROR: clBuildProgram(CL_BUILD_PROGRAM_FAILURE)

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


More information about the dri-devel mailing list