This patch is intended to fix the following errors seen for the opencl build

OpenCL Build log: "S:\TEMP\OCL4008T5.cl", line 427: error: invalid combination of type specifiers
float3 half = input->lightVect - input->viewVector;
^

"S:\TEMP\OCL4008T5.cl", line 427: error: expected an identifier
float3 half = input->lightVect - input->viewVector;
^

"S:\TEMP\OCL4008T5.cl", line 428: error: expected an identifier
half = normalize(half);
^

"S:\TEMP\OCL4008T5.cl", line 428: error: direct use of type "half" requires
OpenCL extension cl_khr_f16 (not supported)
half = normalize(half);
^

"S:\TEMP\OCL4008T5.cl", line 428: error: expected an expression
half = normalize(half);
^

"S:\TEMP\OCL4008T5.cl", line 429: error: expected an expression
float shade2 = dot(input->normal,half);
^

Project Activity

See All Activity >

Follow Mandelbulber

Mandelbulber Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mandelbulber!

Additional Project Details

Registered

2017-01-12