mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 22:13:25 -10:00
Bug: angleproject:5761 Change-Id: I29d1fd3bf862728a3e78418a4f98219828394452 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2807717 Commit-Queue: John Plate <[email protected]> Reviewed-by: Cody Northrop <[email protected]> Reviewed-by: Jamie Madill <[email protected]>
ANGLE OpenCL Headers
The OpenCL headers ANGLE uses are the original headers from Khronos, but they are modified to allow
the macro CL_API_ENTRY to be overridden externally.
The modifications have been submitted to Khronos, and this document should be updated after they are merged.
Regenerating headers
-
Copy all headers from
OpenCL-Headers/CL/over to this folder. -
Edit the headers:
-
Change all occurences of
typedef CL_API_ENTRYtotypedef. -
In
cl_platform.hchange both#define CL_API_ENTRYto#if !defined(CL_API_ENTRY) #define CL_API_ENTRY #endif
-