Created
July 21, 2014 12:54
-
-
Save Balletie/c1d1805784962c6e95dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build log: | |
<program source>:57:1: warning: no previous prototype for function 'intersect' | |
intersect( | |
^ | |
<program source>:63:37: error: no member named 'radiu' in 'struct shape::<anonymous at <program source>:31:3>'; did you mean 'radius'? | |
float sphere_radius = shape.sphere.radiu; | |
^~~~~ | |
radius | |
<program source>:33:10: note: 'radius' declared here | |
float radius; // offset 16 | |
^ | |
<program source>:74:6: warning: double precision constant requires cl_khr_fp64, casting to single precision | |
-0.5 * (b + sqrt(disc)) : | |
^ | |
<program source>:75:6: warning: double precision constant requires cl_khr_fp64, casting to single precision | |
-0.5 * (b - sqrt(disc)); | |
^ | |
<program source>:81:11: warning: double precision constant requires cl_khr_fp64, casting to single precision | |
if (t0 < EPSILON) return 0; | |
^ | |
<program source>:6:17: note: expanded from macro 'EPSILON' | |
#define EPSILON 1e-4 | |
^ | |
<program source>:100:19: warning: double precision constant requires cl_khr_fp64, casting to single precision | |
float x = (xi + .5) * invwidth - 0.5; | |
^ | |
<program source>:100:36: warning: double precision constant requires cl_khr_fp64, casting to single precision | |
float x = (xi + .5) * invwidth - 0.5; | |
^ | |
<program source>:101:19: warning: double precision constant requires cl_khr_fp64, casting to single precision | |
float y = (yi + .5) * invheight - 0.5; | |
^ | |
<program source>:101:37: warning: double precision constant requires cl_khr_fp64, casting to single precision | |
float y = (yi + .5) * invheight - 0.5; | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment